public void CreateNewsCategories(Dtos.CreateNewsCategoriesInput input) { var type = new NewsCategories { Title = input.Title, IsDeleted = input.IsDeleted }; //Saving entity with standard Insert method of repositories. _newsCategoriesRepository.Insert(type); }
public void CreateNewsCategories(Dtos.CreateNewsCategoriesInput input){ var type = new NewsCategories { Title = input.Title, IsDeleted = input.IsDeleted }; //Saving entity with standard Insert method of repositories. _newsCategoriesRepository.Insert(type); }