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)); }
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); }
System.Threading.Tasks.Task <RestaurantManagerClient.RestaurantService.LoginResponse> RestaurantManagerClient.RestaurantService.WebService1Soap.LoginAsync(RestaurantManagerClient.RestaurantService.LoginRequest request) { return(base.Channel.LoginAsync(request)); }
RestaurantManagerClient.RestaurantService.LoginResponse RestaurantManagerClient.RestaurantService.WebService1Soap.Login(RestaurantManagerClient.RestaurantService.LoginRequest request) { return(base.Channel.Login(request)); }