Example #1
0
 public ServiceResult<string> Delete(int Id)
 {
     CompanyService service = new CompanyService(_container);
     return service.Delete(Id);
 }
Example #2
0
 public ServiceResult<Company> Retrieve(int Id)
 {
     CompanyService service = new CompanyService(_container);
     return service.Retrieve(Id);
 }
Example #3
0
 public ServiceResult<IList<Company>> GetAll()
 {
     CompanyService service = new CompanyService(_container);
     return service.GetAll();
 }
Example #4
0
 public ServiceResult<Company> Edit(Company obj)
 {
     CompanyService service = new CompanyService(_container);
     return service.Edit(obj);
 }