示例#1
0
 public UserService(
     ToggleAPIContext context,
     IMapper mapper,
     IOptions <AppSettings> appSettings)
 {
     _context     = context;
     _mapper      = mapper;
     _appSettings = appSettings.Value;
 }
示例#2
0
 public ServiceService(ToggleAPIContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }