Example #1
0
 public Entity.BaseResponse <List <Entity.LookupItem> > GetAllCommandsFromIoT(string templateGuid)
 {
     Entity.BaseResponse <List <Entity.LookupItem> > response = new Entity.BaseResponse <List <Entity.LookupItem> >(true);
     try
     {
         response.Data = _service.GetAllCommandsFromIoT(templateGuid);
     }
     catch (Exception ex)
     {
         return(new Entity.BaseResponse <List <Entity.LookupItem> >(false, ex.Message));
     }
     return(response);
 }