public App( IOrderCommandRepository orderCommandRepo, IRestaurantQueryRepository restaurantQueryRepo, IRestaurantCommandRepository restaurantCommandRepo, ICustomerCommandRepository customerCommandRepo, ILocationCommandRepository locationCommandRepo, IMealCommandRepository mealCommandRepo, IFoodOrderingContextFactory factory, IDailyMenuCommandRepository dailyMenuCommand, IMapper mapper, IFoodQueryRepository foodQueryRepository, IFoodCommandRepository foodCommandRepository, IRoleCommandRepository roleCommandRepo) { _orderCommandRepo = orderCommandRepo; _restaurantQueryRepository = restaurantQueryRepo; _restaurantCommandRepository = restaurantCommandRepo; _customerCommandRepo = customerCommandRepo; _locationCommandRepo = locationCommandRepo; _mealCommandRepo = mealCommandRepo; _factory = factory; _dailyMenuCommandRepo = dailyMenuCommand; _mapper = mapper; _foodQueryRepository = foodQueryRepository; _foodCommandRepository = foodCommandRepository; _roleCommandRepo = roleCommandRepo; }
public RoleController( IRoleCommandRepository commandRepository, IRoleQueryRepository queryRepository, IEitherMapper mapper, ILogger <RoleController> logger) { _commandRepository = commandRepository; _queryRepository = queryRepository; _mapper = mapper; _logger = logger; }