public ViolationController( IMapper mapper, ViolationRepository violationRepo, CitizenUserRepository userRepo, PolicemanRepository policeRepository, PoliceNotificationsRepository notificationsRepository) { this.mapper = mapper; this.violationRepo = violationRepo; this.userRepo = userRepo; this.policeRepository = policeRepository; this.notificationsRepository = notificationsRepository; }
public PoliceNotificationsController(PoliceNotificationsRepository pNotsRepository, IMapper mapper) { this.pNotsRepository = pNotsRepository; this.mapper = mapper; }