public Entity.BaseResponse <List <Entity.LookupItemWithTemplateGuid> > GetDeviceTypeLookup(string entityId) { Entity.BaseResponse <List <Entity.LookupItemWithTemplateGuid> > response = new Entity.BaseResponse <List <Entity.LookupItemWithTemplateGuid> >(true); try { response.Data = _service.DeviceTypeLookup(Guid.Parse(entityId)); } catch (Exception ex) { base.LogException(ex); return(new Entity.BaseResponse <List <Entity.LookupItemWithTemplateGuid> >(false, ex.Message)); } return(response); }