Ejemplo n.º 1
0
 public Entity.BaseResponse <List <Entity.LookupItemWithStatus> > GetBuildingLookup(string companyId)
 {
     Entity.BaseResponse <List <Entity.LookupItemWithStatus> > response = new Entity.BaseResponse <List <Entity.LookupItemWithStatus> >(true);
     try
     {
         response.Data = _service.BuildingLookup(Guid.Parse(companyId));
     }
     catch (Exception ex)
     {
         return(new Entity.BaseResponse <List <Entity.LookupItemWithStatus> >(false, ex.Message));
     }
     return(response);
 }