예제 #1
0
 public Workshops AddWorkshop(Workshops workshopToBeAdded)
 {
     if (IsUniqueWorkshop(workshopToBeAdded.Name))
     {
         return(workshopRepository.AddWorkshop(workshopToBeAdded));
     }
     else
     {
         return(null);
     }
 }