public async Task <ActionResult <CheckList> > Update(CheckListUpdate checkList) { var result = await checkListRepository.UpdateAsync(checkList); if (result == null) { return(this.ValidateAndBadRequest()); } else { return(result); } }
/// <summary> /// Update an existing CheckList /// </summary> /// <returns></returns> public async Task UpdateCheckListAsync(CheckList checkList) { await _checkListRepository.UpdateAsync(checkList); }