Exemple #1
0
 public Status Create(Status status)
 {
     if (_validationMngr.CheckForUniqueByName(status))
     {
         return(_repo.Create(status));
     }
     else
     {
         throw new Exception("Status with this name is already exist");
     }
 }