VisitorManager.Async.cs Changes
This commit is contained in:
@@ -113,14 +113,10 @@ namespace Bizgaze.CRM.Visitors.Managers
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Get Pre_Visitors
|
/* #region Get Pre_Visitors
|
||||||
/**
|
/***/
|
||||||
* This method is used to get the pre-visitors with the specified code.
|
|
||||||
* If the visitor with the given code is present, it returns the visitor data else it returns an error.
|
|
||||||
* @param srequest The select request object
|
|
||||||
* @param code The code of the visitor
|
|
||||||
* @return The select response object containing the visitor data or the error.
|
|
||||||
*/
|
|
||||||
[SelectMethod(ApiName = "Get pre visitors", AppName = "crm", Description = "Get pre visitors", UniqueName = "bizgaze_transact_visitors_Getprevisitors", MethodName = "Getprevisitors", ModuleName = "visitors", PackageName = "bizgaze", ParamName1 = "code")]
|
[SelectMethod(ApiName = "Get pre visitors", AppName = "crm", Description = "Get pre visitors", UniqueName = "bizgaze_transact_visitors_Getprevisitors", MethodName = "Getprevisitors", ModuleName = "visitors", PackageName = "bizgaze", ParamName1 = "code")]
|
||||||
public async Task<SelectResponse<Bizgaze.CRM.Visitors.Infos.Visitor>> GetpreVisitorsAsync(SelectRequest srequest, string code)
|
public async Task<SelectResponse<Bizgaze.CRM.Visitors.Infos.Visitor>> GetpreVisitorsAsync(SelectRequest srequest, string code)
|
||||||
{
|
{
|
||||||
@@ -146,7 +142,7 @@ namespace Bizgaze.CRM.Visitors.Managers
|
|||||||
return SelectResponse<Bizgaze.CRM.Visitors.Infos.Visitor>.CreateErrorResponse("404", "you have been already checked out");
|
return SelectResponse<Bizgaze.CRM.Visitors.Infos.Visitor>.CreateErrorResponse("404", "you have been already checked out");
|
||||||
|
|
||||||
}
|
}
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region Visitor Agreement
|
#region Visitor Agreement
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user