public PrivateProfileService(IUnitOfWork unitOfWork, IFileService fileService, IEmailService emailService)
 {
     _fileService              = fileService;
     _emailService             = emailService;
     _qrGenerator              = new QRCodeGenerator();
     _unitOfWork               = unitOfWork;
     _registeredAnimalProvider = unitOfWork.Get <IRegisteredAnimalProvider>();
     _animalDataProvider       = unitOfWork.Get <IAnimalDataProvider>();
     _userDataProvider         = unitOfWork.Get <IUserDataProvider>();
 }
Ejemplo n.º 2
0
 public AnimalService(IUnitOfWork unitOfWork, IGeo geo)
 {
     _unitOfWork         = unitOfWork;
     _animalDataProvider = unitOfWork.Get <IAnimalDataProvider>();
     _geo = geo;
 }
Ejemplo n.º 3
0
 public DogsController(IAnimalDataProvider dataProvider)
 {
     _dataProvider = dataProvider;
 }