コード例 #1
0
 public bool CreateTerm(Term create)
 {
     //VALIDATEION HERE USE VALIDATION SPACE BELOW!! model it off those methods and return false if it doesn't work
     if (ValidateTerm(create))
     {
         create.Title = create.Quarter + " " + create.Year;
         return(Repository.CreateTerm(create));
     }
     else
     {
         return(false);
     }
 }