Ejemplo n.º 1
0
 public async Task Edit(TodoItemVo changes)
 {
     context.Update(entity: mapper.Map <TodoItemDao>(changes));
     await context.SaveChangesAsync();
 }
Ejemplo n.º 2
0
 public async Task Edit(CategoryVo changes)
 {
     context.Update(entity: mapper.Map <CategoryDao>(changes));
     await context.SaveChangesAsync();
 }