public Entity.BaseResponse <List <Entity.LookupItemWithStatus> > GetDeviceLookup(string subentityId) { Entity.BaseResponse <List <Entity.LookupItemWithStatus> > response = new Entity.BaseResponse <List <Entity.LookupItemWithStatus> >(true); try { response.Data = _service.DeviceLookup(Guid.Parse(subentityId)); } catch (Exception ex) { base.LogException(ex); return(new Entity.BaseResponse <List <Entity.LookupItemWithStatus> >(false, ex.Message)); } return(response); }