public async Task <Entry> Create <TFormObject>(TFormObject formObject, params string[] fields) { var entry = _helper.Add(_dbSet, formObject, fields); await _context.SaveChangesAsync(); return(entry); }
public async Task <AllowanceTask> Create <TFormObject>(TFormObject formObject, params string[] fields) { var task = _helper.Add(_dbSet, formObject, fields); await _context.SaveChangesAsync(); return(task); }