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