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