public PoliceController(IMapper mapper, PolicemanRepository pmRepo, CitizenUserRepository cuRepo) { this.mapper = mapper; this.pmRepo = pmRepo; this.cuRepo = cuRepo; }
public ViolationController( IMapper mapper, ViolationRepository violationRepo, CitizenUserRepository userRepo, PolicemanRepository policeRepository) { this.mapper = mapper; this.violationRepo = violationRepo; this.userRepo = userRepo; this.policeRepository = policeRepository; }