public AddressController(IAddressService serviceAddress, IAddressRepository addressRepository, HRMSDBContext context, ISuburbRepository suburbRepository) { _serviceAddress = serviceAddress; _addressRepository = addressRepository; _context = context; _suburbRepository = suburbRepository; }
public PropertiesController(IMapper mapper, IPropertyRepository propertyRepository, IOwnerRepository ownerRepository, ISuburbRepository suburbRepository, IPropertyTypeRepository propertyTypeRepository, IUnitOfWork unitOfWork) { this.mapper = mapper; this.propertyRepository = propertyRepository; this.ownerRepository = ownerRepository; this.suburbRepository = suburbRepository; this.propertyTypeRepository = propertyTypeRepository; this.unitOfWork = unitOfWork; }
public SuburbController(ISuburbRepository repo) { _Repo = repo; }
public SuburbsController(IMapper mapper, ISuburbRepository repository, IUnitOfWork unitOfWork) { this.mapper = mapper; this.repository = repository; this.unitOfWork = unitOfWork; }
public AddressService(IAddressRepository repoAddress, ISuburbRepository repoSuburb) { _repoAddress = repoAddress; _repoSuburb = repoSuburb; }