Exemple #1
0
 public async Task Add(PropertyImage propertyImage)
 {
     unitOfWorkSqlServerAdapter.Repositories.PropertyImage.Add(propertyImage);
     await unitOfWorkSqlServerAdapter.SaveChangesAsync();
 }
 public async Task Add(Owner owner)
 {
     unitOfWorkSqlServerAdapter.Repositories.Owner.Add(owner);
     await unitOfWorkSqlServerAdapter.SaveChangesAsync();
 }