示例#1
0
 public RecipeController(
     IRecipeQueryRepository queryRepository,
     IRecipeCommandRepository commandRepository,
     IEitherMapper mapper,
     ILogger <RecipeController> logger)
 {
     _queryRepository   = queryRepository;
     _commandRepository = commandRepository;
     _mapper            = mapper;
     _logger            = logger;
 }
示例#2
0
 public OrdersController(
     IOrderQueryRepository queryRepo,
     IOrderCommandRepository commandRepo,
     IEitherMapper mapper,
     ILogger <OrdersController> logger)
 {
     _queryRepo   = queryRepo;
     _commandRepo = commandRepo;
     _mapper      = mapper;
     _logger      = logger;
 }
示例#3
0
 public DailyMenuController(
     IDailyMenuQueryRepository queryRepo,
     IDailyMenuCommandRepository commandRepo,
     IEitherMapper mapper,
     ILogger <DailyMenuController> logger)
 {
     _mapper      = mapper;
     _queryRepo   = queryRepo;
     _commandRepo = commandRepo;
     _logger      = logger;
 }
示例#4
0
 public MealController(
     IMealQueryRepository queryRepo,
     IMealCommandRepository commandRepo,
     IEitherMapper mapper,
     ILogger <MealController> logger)
 {
     _mapper      = mapper;
     _queryRepo   = queryRepo;
     _commandRepo = commandRepo;
     _logger      = logger;
 }
示例#5
0
 public PaymentController(
     IPaymentQueryRepository queryRepo,
     IPaymentCommandRepository commandRepo,
     IEitherMapper mapper,
     ILogger <CustomerController> logger)
 {
     _queryRepo   = queryRepo;
     _commandRepo = commandRepo;
     _mapper      = mapper;
     _logger      = logger;
 }
示例#6
0
 public HomeController(
     ICustomerCommandRepository commandRepo,
     ICustomerQueryRepository queryRepo,
     IEitherMapper mapper,
     ILogger <HomeController> logger)
 {
     _commandRepo = commandRepo;
     _queryRepo   = queryRepo;
     _mapper      = mapper;
     _logger      = logger;
 }
示例#7
0
 public CustomerAliasesController(
     ICustomerAliasQueryRepository queryRepo,
     ICustomerAliasCommandRepository commandRepo,
     IEitherMapper mapper,
     ILogger <CustomerAliasesController> logger)
 {
     _mapper      = mapper;
     _queryRepo   = queryRepo;
     _commandRepo = commandRepo;
     _logger      = logger;
 }
示例#8
0
 public FoodController(
     IFoodCommandRepository foodCommandRepository,
     IFoodQueryRepository foodRepository,
     IEitherMapper mapper,
     ILogger <FoodController> logger)
 {
     _foodQueryRepository   = foodRepository;
     _foodCommandRepository = foodCommandRepository;
     _mapper = mapper;
     _logger = logger;
 }
示例#9
0
 public LocationController(
     ILocationCommandRepository commandRepository,
     ILocationQueryRepository queryRepository,
     IEitherMapper mapper,
     ILogger <LocationController> logger)
 {
     _commandRepository = commandRepository;
     _queryRepository   = queryRepository;
     _mapper            = mapper;
     _logger            = logger;
 }
示例#10
0
 public UserController(IUserService userService, IEitherMapper mapper)
 {
     _userService = userService;
     _mapper      = mapper;
 }
示例#11
0
 public UserController(IEitherMapper mapper, IUserService userService, ITokenService tokenService)
 {
     _mapper       = mapper;
     _tokenService = tokenService;
     _userService  = userService;
 }