Пример #1
0
 public System.Threading.Tasks.Task <RestaurantManagerClient.RestaurantService.LoginResponse> LoginAsync(string username, string password)
 {
     RestaurantManagerClient.RestaurantService.LoginRequest inValue = new RestaurantManagerClient.RestaurantService.LoginRequest();
     inValue.Body          = new RestaurantManagerClient.RestaurantService.LoginRequestBody();
     inValue.Body.username = username;
     inValue.Body.password = password;
     return(((RestaurantManagerClient.RestaurantService.WebService1Soap)(this)).LoginAsync(inValue));
 }
Пример #2
0
 public string Login(string username, string password)
 {
     RestaurantManagerClient.RestaurantService.LoginRequest inValue = new RestaurantManagerClient.RestaurantService.LoginRequest();
     inValue.Body          = new RestaurantManagerClient.RestaurantService.LoginRequestBody();
     inValue.Body.username = username;
     inValue.Body.password = password;
     RestaurantManagerClient.RestaurantService.LoginResponse retVal = ((RestaurantManagerClient.RestaurantService.WebService1Soap)(this)).Login(inValue);
     return(retVal.Body.LoginResult);
 }
Пример #3
0
 System.Threading.Tasks.Task <RestaurantManagerClient.RestaurantService.LoginResponse> RestaurantManagerClient.RestaurantService.WebService1Soap.LoginAsync(RestaurantManagerClient.RestaurantService.LoginRequest request)
 {
     return(base.Channel.LoginAsync(request));
 }
Пример #4
0
 RestaurantManagerClient.RestaurantService.LoginResponse RestaurantManagerClient.RestaurantService.WebService1Soap.Login(RestaurantManagerClient.RestaurantService.LoginRequest request)
 {
     return(base.Channel.Login(request));
 }