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(); }