Exemplo n.º 1
0
 public Task <ActionResult <Evaluation> > Update([FromBody] Evaluation evaluation)
 {
     return(TryExecute(MyPolicies.peopleEdit,
                       evaluation.PersonId,
                       () =>
     {
         _evaluationService.Save(evaluation);
         return evaluation;
     }));
 }