Example #1
0
 public UserService(GfsDbContext context, UserManager <User> userManager, IMapper mapper,
                    IEmailService emailService, IOptions <Dictionary> dictionary)
 {
     _context      = context;
     _userManager  = userManager;
     _mapper       = mapper;
     _emailService = emailService;
     _dictionary   = dictionary.Value;
 }
 public OrderPdfService(GfsDbContext context, IOptions <Dictionary> dictionary, IOrderService orderService)
 {
     _context      = context;
     _dictionary   = dictionary.Value;
     _orderService = orderService;
 }
Example #3
0
 public OrderService(GfsDbContext context, IOptions <Dictionary> dictionary)
 {
     _context    = context;
     _dictionary = dictionary.Value;
 }