public void Add(Model.Category entity) { //if (string.IsNullOrEmpty(entity.Name)) //{ // throw new Exception(); //} _categoryDAL.Add(entity); }
public void Add(Category entity) { _categoryDAL.Add(entity); }