Ejemplo n.º 1
0
 public bool EditGradeOfPresentation(int presentationId, int grade)
 {
     try
     {
         var presentation = _repository.GetPresentationById(presentationId);
         presentation.Grade = grade;
         _repository.EditPresentation(presentation);
     }
     catch
     {
         return(false);
     }
     return(true);
 }