public IPhysicalPersonRepository GetPhysicalPersonRepository() { if (physicalPersonRepository == null) { physicalPersonRepository = new PhysicalPersonViewRepository(context); } return(physicalPersonRepository); }
public PhysicalPersonsController(IPhysicalPersonRepository physicalPersonRepository, IIMageHandler imageHandler, UnitOfWork unitOfWork) { _physicalPersonRepository = physicalPersonRepository; _imageHandler = imageHandler; _unitOfWork = unitOfWork; }
public PhysicalPersonDomain(IPhysicalPersonRepository PhysicalPersonRepository) { this.PhysicalPersonRepository = PhysicalPersonRepository; }
public PhysicalPersonService(IPhysicalPersonRepository personRepository, IMapper <PhysicalPersonModel, PhysicalPersonEntity> personMapper) { _personRepository = personRepository; _personMapper = personMapper; }