Exemplo n.º 1
0
 /// <summary>
 /// to get all checklistype from the repository layer
 /// </summary>
 /// <returns>asynchronous list of checklisttype</returns>
 public async Task <List <CheckListType> > GetCheckListTypes()
 {
     try
     {
         return(await _checkListRepository.GetCheckListTypesAsync());
     }
     catch (Exception ex)
     {
         _logger.Log(ex, LogLevel.Error, ex.Message);
         return(new List <CheckListType>());
     }
 }