public AuthenticationService(ILostRepository lostRepository, ICityRepository cityRepository, IInstitutionRepository institutionRepository, IMapper mapper, IInstitutionsTypeRepository institutionsTypeRepository)
 {
     this.mapper = mapper;
     this.institutionsTypeRepository = institutionsTypeRepository;
     this.lostRepository             = lostRepository;
     this.cityRepository             = cityRepository;
     this.institutionRepository      = institutionRepository;
 }
Exemple #2
0
 public DataService(ILostRepository lostRepository, IInstitutionRepository institutionRepository, IInstitutionsTypeRepository institutionsTypeRepository,
                    IMapper mapper)
 {
     this.mapper                     = mapper;
     this.lostRepository             = lostRepository;
     this.institutionRepository      = institutionRepository;
     this.institutionsTypeRepository = institutionsTypeRepository;
 }
Exemple #3
0
 public LostService(ILostRepository lostRepository)
 {
     this.lostRepository = lostRepository;
     if (lostRepository == null) throw new ArgumentNullException("lostRepository is null. Must be ILostRepository");
 }