예제 #1
0
 public PoliceController(IMapper mapper,
                         IPolicemanRepository pmRepo,
                         ICitizenUserRepository cuRepo, IViolationRepository violationRepo)
 {
     this.mapper        = mapper;
     this.pmRepo        = pmRepo;
     this.cuRepo        = cuRepo;
     this.violationRepo = violationRepo;
 }
예제 #2
0
 public ViolationController(
     IMapper mapper,
     IViolationRepository violationRepo,
     ICitizenUserRepository userRepo,
     IPolicemanRepository policeRepository)
 {
     this.mapper           = mapper;
     this.violationRepo    = violationRepo;
     this.userRepo         = userRepo;
     this.policeRepository = policeRepository;
 }
예제 #3
0
 public PolicemanBusiness(IPolicemanRepository _policemanRepository)
 {
     this.policemanRepository = _policemanRepository;
 }