Esempio n. 1
0
        public async Task AddCategoryField([NotNull] CategoryField categoryField)
        {
            await _dbContext.CategoryFields.AddAsync(categoryField);

            await _dbContext.SaveChangesAsync();
        }
Esempio n. 2
0
        public async Task AddCategoryItem(CategoryItem categoryItem)
        {
            await _dbContext.CategoryItems.AddAsync(categoryItem);

            await _dbContext.SaveChangesAsync();
        }
Esempio n. 3
0
        public async Task AddCategory(Category category)
        {
            await _dbContext.Categories.AddAsync(category);

            await _dbContext.SaveChangesAsync();
        }