Exemple #1
0
 /// <summary>
 ///  to save a checklist through a repository call
 /// </summary>
 /// <param name="checkList"></param>
 /// <returns>an asynchronous checklist</returns>
 public async Task <CheckList> UpdateCheckList(CheckList checkList)
 {
     try
     {
         return(await _checkListRepository.UpdateCheckListAsync(checkList));
     }
     catch (Exception ex)
     {
         _logger.Log(ex, LogLevel.Error, ex.Message);
         return(null);
     }
 }