示例#1
0
 /// <inheritdoc />
 public ContactController(IHttpContextAccessor httpContextAccessor, IContactService contactService, ILogger <ContactController> logger,
                          IDocService docService, ILocationRepository locationRepository, ICellGroupRepository cellGroupRepository)
 {
     _contactService      = contactService;
     _logger              = logger;
     _locationRepository  = locationRepository;
     _cellGroupRepository = cellGroupRepository;
 }
示例#2
0
 /// <inheritdoc />
 public CellGroupController(IHttpContextAccessor httpContextAccessor, ICellGroupRepository repository, ILogger <CellGroupController> logger,
                            IDocService docService, IMapper mapper)
 {
     _httpContextAccessor = httpContextAccessor;
     _repository          = repository;
     _logger     = logger;
     _docService = docService;
     _mapper     = mapper;
 }