public int Remove(Database.Communication.DatabaseService.Employee employee) { Database.Communication.DatabaseService.RemoveRequest inValue = new Database.Communication.DatabaseService.RemoveRequest(); inValue.Body = new Database.Communication.DatabaseService.RemoveRequestBody(); inValue.Body.employee = employee; Database.Communication.DatabaseService.RemoveResponse retVal = ((Database.Communication.DatabaseService.DatabaseServiceSoap)(this)).Remove(inValue); return(retVal.Body.RemoveResult); }
public System.Threading.Tasks.Task <Database.Communication.DatabaseService.RemoveResponse> RemoveAsync(Database.Communication.DatabaseService.Employee employee) { Database.Communication.DatabaseService.RemoveRequest inValue = new Database.Communication.DatabaseService.RemoveRequest(); inValue.Body = new Database.Communication.DatabaseService.RemoveRequestBody(); inValue.Body.employee = employee; return(((Database.Communication.DatabaseService.DatabaseServiceSoap)(this)).RemoveAsync(inValue)); }
public RemoveRequestBody(Database.Communication.DatabaseService.Employee employee) { this.employee = employee; }