public async Task Delete(BudgetConceptEntity entity) { entity.DeletedAt = DateTime.Now; db.Update(entity); await context.SaveChangesAsync(); }
public async Task Create(BudgetConceptEntity entity) { var entry = db.Add(entity); await context.SaveChangesAsync(); }