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 PolicemanBusiness(IPolicemanRepository _policemanRepository) { this.policemanRepository = _policemanRepository; }