예제 #1
0
 public void Update(Core.Domain.Category model)
 {
     if (model == null)
     {
         throw new ArgumentNullException("model");
     }
     IRepository = new CategoryRepository();
     IRepository.Update(model);
 }
예제 #2
0
 public void InsertCategory(Core.Domain.Category model)
 {
     if (model == null)
     {
         throw new ArgumentNullException("group");
     }
     IRepository = new CategoryRepository();
     IRepository.Insert(model);
 }