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