コード例 #1
0
 public virtual async Task Create(T entity)
 {
     entity.Id = 0;
     await _context.AddAsync(entity);
 }