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

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

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

            await _dbContext.SaveChangesAsync();
        }