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; }
public DataService(ILostRepository lostRepository, IInstitutionRepository institutionRepository, IInstitutionsTypeRepository institutionsTypeRepository, IMapper mapper) { this.mapper = mapper; this.lostRepository = lostRepository; this.institutionRepository = institutionRepository; this.institutionsTypeRepository = institutionsTypeRepository; }
public LostService(ILostRepository lostRepository) { this.lostRepository = lostRepository; if (lostRepository == null) throw new ArgumentNullException("lostRepository is null. Must be ILostRepository"); }