public bool InsertCategory(CategoryDic model) { return(dbManager.Execute(conn => DALCategory.InsertCategory(conn, model))); }
public bool InsertCategory(Category category) { DALCategory categoryDAL = new DALCategory(); return(categoryDAL.InsertCategory(category)); }