Beispiel #1
0
 public async Task Create(UnitEntity item)
 {
     var value = Mapper.Map <Entity>(item);
     await context.Set <Entity>().AddAsync(value);
 }