Ejemplo n.º 1
0
 public ViolationController(
     IMapper mapper,
     ViolationRepository violationRepo,
     CitizenUserRepository userRepo,
     PolicemanRepository policeRepository,
     PoliceNotificationsRepository notificationsRepository)
 {
     this.mapper                  = mapper;
     this.violationRepo           = violationRepo;
     this.userRepo                = userRepo;
     this.policeRepository        = policeRepository;
     this.notificationsRepository = notificationsRepository;
 }
Ejemplo n.º 2
0
 public PoliceNotificationsController(PoliceNotificationsRepository pNotsRepository, IMapper mapper)
 {
     this.pNotsRepository = pNotsRepository;
     this.mapper          = mapper;
 }