Ejemplo n.º 1
0
 public PoliceController(IMapper mapper,
                         PolicemanRepository pmRepo,
                         CitizenUserRepository cuRepo, ViolationRepository violationRepo)
 {
     this.mapper        = mapper;
     this.pmRepo        = pmRepo;
     this.cuRepo        = cuRepo;
     this.violationRepo = violationRepo;
 }
Ejemplo n.º 2
0
 public ViolationController(
     IMapper mapper,
     ViolationRepository violationRepo,
     CitizenUserRepository userRepo,
     PolicemanRepository policeRepository)
 {
     this.mapper           = mapper;
     this.violationRepo    = violationRepo;
     this.userRepo         = userRepo;
     this.policeRepository = policeRepository;
 }