Пример #1
0
 public async Task <ActionResult> Create(Evaluation evaluation)
 {
     try
     {
         if (evaluation != null)
         {
             await _evaluationService.AddAsync(evaluation);
         }
         return(RedirectToAction(nameof(Index)));
     }
     catch
     {
         return(View());
     }
 }