public async Task AddCategoryField([NotNull] CategoryField categoryField) { await _dbContext.CategoryFields.AddAsync(categoryField); await _dbContext.SaveChangesAsync(); }
public async Task AddCategoryItem(CategoryItem categoryItem) { await _dbContext.CategoryItems.AddAsync(categoryItem); await _dbContext.SaveChangesAsync(); }
public async Task AddCategory(Category category) { await _dbContext.Categories.AddAsync(category); await _dbContext.SaveChangesAsync(); }