예제 #1
0
        public EntitiesStandart.Categories CreateCategory(EntitiesStandart.Categories newCategory)
        {
            var BL          = new BLL.Categories();
            var NewCategory = BL.Create(newCategory);

            return(NewCategory);
        }
예제 #2
0
 public EntitiesStandart.Categories Create(EntitiesStandart.Categories newCategories)
 {
     using (var r = RepositoryFactory.CreateRepository())
     {
         newCategories = r.Create(newCategories);
     }
     return(newCategories);
 }