Exemplo n.º 1
0
 /// <summary>
 /// Controller for identifications
 /// </summary>
 public IdentificationController(IIdentificationRepository repository, IMapper mapper, ILogger <IdentificationController> logger)
 {
     _repository = repository;
     _mapper     = mapper;
     _logger     = logger;
 }
Exemplo n.º 2
0
 /// <summary>
 /// IdentificationService的构造函数
 /// </summary>
 /// <param name="identificationRepository"></param>
 /// <param name="identificationTypeRepository"></param>
 public IdentificationService(IdentificationRepository identificationRepository, IdentificationTypeRepository identificationTypeRepository)
 {
     this.iIdentificationRepository    = identificationRepository;
     this.identificationTypeRepository = identificationTypeRepository;
 }
Exemplo n.º 3
0
 /// <summary>
 /// IdentificationService的构造函数
 /// </summary>
 /// <param name="identificationRepository"></param>
 /// <param name="identificationTypeRepository"></param>
 public IdentificationService(IdentificationRepository identificationRepository, IdentificationTypeRepository identificationTypeRepository)
 {
     this.iIdentificationRepository = identificationRepository;
     this.identificationTypeRepository = identificationTypeRepository;
 }