public System.Threading.Tasks.Task <Tema4MvcApp.AdminService.AddPackageResponse> AddPackageAsync(string sender, string receiver, string name, string description, string senderCity, string destinationCity) { Tema4MvcApp.AdminService.AddPackageRequest inValue = new Tema4MvcApp.AdminService.AddPackageRequest(); inValue.Body = new Tema4MvcApp.AdminService.AddPackageRequestBody(); inValue.Body.sender = sender; inValue.Body.receiver = receiver; inValue.Body.name = name; inValue.Body.description = description; inValue.Body.senderCity = senderCity; inValue.Body.destinationCity = destinationCity; return(((Tema4MvcApp.AdminService.AdminServiceSoap)(this)).AddPackageAsync(inValue)); }
public string AddPackage(string sender, string receiver, string name, string description, string senderCity, string destinationCity) { Tema4MvcApp.AdminService.AddPackageRequest inValue = new Tema4MvcApp.AdminService.AddPackageRequest(); inValue.Body = new Tema4MvcApp.AdminService.AddPackageRequestBody(); inValue.Body.sender = sender; inValue.Body.receiver = receiver; inValue.Body.name = name; inValue.Body.description = description; inValue.Body.senderCity = senderCity; inValue.Body.destinationCity = destinationCity; Tema4MvcApp.AdminService.AddPackageResponse retVal = ((Tema4MvcApp.AdminService.AdminServiceSoap)(this)).AddPackage(inValue); return(retVal.Body.AddPackageResult); }
System.Threading.Tasks.Task <Tema4MvcApp.AdminService.AddPackageResponse> Tema4MvcApp.AdminService.AdminServiceSoap.AddPackageAsync(Tema4MvcApp.AdminService.AddPackageRequest request) { return(base.Channel.AddPackageAsync(request)); }
Tema4MvcApp.AdminService.AddPackageResponse Tema4MvcApp.AdminService.AdminServiceSoap.AddPackage(Tema4MvcApp.AdminService.AddPackageRequest request) { return(base.Channel.AddPackage(request)); }