public async Task <bool> CreateAsync(Category category) { await _dbContext.AddAsync(category); await _dbContext.SaveChangesAsync(); return(true); }
public async Task <bool> CreateAsync(Category category) { await _dbContext.AddAsync(category); await _dbContext.SaveChangesAsync(); return(true); }