public async Task <T> CreateAsync(T entity) { Context.Table.Add(entity); await Context.SaveChangesAsync(); return(entity); }
public virtual async Task SaveAsync() { await Context.SaveChangesAsync(); }