public PoliceController(IMapper mapper, IPolicemanRepository pmRepo, ICitizenUserRepository cuRepo, IViolationRepository violationRepo) { this.mapper = mapper; this.pmRepo = pmRepo; this.cuRepo = cuRepo; this.violationRepo = violationRepo; }
public ViolationController( IMapper mapper, IViolationRepository violationRepo, ICitizenUserRepository userRepo, IPolicemanRepository policeRepository) { this.mapper = mapper; this.violationRepo = violationRepo; this.userRepo = userRepo; this.policeRepository = policeRepository; }
public ViolationService(IViolationRepository violationRepository, IVehicleRepository vehicleRepository) { _violationRepository = violationRepository; _vehicleRepository = vehicleRepository; }
public ViolationService(IViolationRepository violationRepository) { _violationRepository = violationRepository; }
public ViolationController(IPostRepository postRepo, IUserRepository userRepo, IViolationRepository violationRepository) { this.userRepository = userRepo; this.postRepository = postRepo; this.violationRepository = violationRepository; }