Example #1
0
 public void AddRepositoryMethod(RepositoryMethod view)
 {
     if (RepositoryMethods.FirstOrDefault(k => k.Name == view.Name) != null)
     {
         throw new Exception("View name repeated in repository");
     }
     RepositoryMethods.Add(view);
 }