示例#1
0
        public void CreateTipsCategories(Dtos.CreateTipsCategoriesInput input)
        {
            var type = new TipsCategories
            {
                Title     = input.Title,
                IsDeleted = input.IsDeleted
            };

            //Saving entity with standard Insert method of repositories.
            _tipsCategoriesRepository.Insert(type);
        }
        public void CreateTipsCategories(Dtos.CreateTipsCategoriesInput input){
            var type = new TipsCategories
            {
                Title = input.Title,
                IsDeleted = input.IsDeleted
            };

            //Saving entity with standard Insert method of repositories.
            _tipsCategoriesRepository.Insert(type);
        }