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