Example #1
0
 public async Task <int> Create(MyEntity model)
 {
     auditor.Stamp(model);
     db.MyEntities.Add(model);
     return(await db.SaveAsync());
 }