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