Exemplo n.º 1
0
 public bool EditTerm(Term termToEdit)
 {
     if (ValidateTerm(termToEdit))
     {
         termToEdit.Title = termToEdit.Quarter + " " + termToEdit.Year;
         return(Repository.EditTerm(termToEdit));//create term
     }
     else
     {
         return(false);//pass up invalid flag
     }
 }