Exemplo n.º 1
0
 public async Task Add(PropertyImage propertyImage)
 {
     unitOfWorkSqlServerAdapter.Repositories.PropertyImage.Add(propertyImage);
     await unitOfWorkSqlServerAdapter.SaveChangesAsync();
 }
Exemplo n.º 2
0
 public async Task Add(Owner owner)
 {
     unitOfWorkSqlServerAdapter.Repositories.Owner.Add(owner);
     await unitOfWorkSqlServerAdapter.SaveChangesAsync();
 }