コード例 #1
0
 public RestaurantBranchController(IHttpContextAccessor httpContextAccessor,
                                   IRestaurantBranchBusiness restaurantBranchBusiness,
                                   IRestaurantBusiness restaurantBusiness)
 {
     _authenticationDto        = httpContextAccessor.HttpContext.User.ToAuthenticationDto();
     _restaurantBranchBusiness = restaurantBranchBusiness;
     _restaurantBusiness       = restaurantBusiness;
 }
コード例 #2
0
 public MessagePublisher(IConfiguration configuration, IRestaurantBusiness restaurantBusiness)
 {
     _configuration      = configuration;
     _restaurantBusiness = restaurantBusiness;
     _subscriptionClient = new SubscriptionClient(
         _configuration.GetConnectionString("ServiceBusConnectionString"),
         TOPIC_PATH,
         SUBSCRIPTION_NAME);
 }
コード例 #3
0
 public RestaurantController(IHttpContextAccessor httpContextAccessor,
                             IRestaurantBusiness restaurantBusiness,
                             IEmailBusiness emailBusiness,
                             IConfiguration appSetting,
                             IAdminAccountBusiness adminAccountBusiness)
 {
     _authenticationDto    = httpContextAccessor.HttpContext.User.ToAuthenticationDto();
     _restaurantBusiness   = restaurantBusiness;
     _adminAccountBusiness = adminAccountBusiness;
     _emailBusiness        = emailBusiness;
     _appSetting           = appSetting;
 }
コード例 #4
0
 public SearchController(IRestaurantBusiness _business_Repo, IAzureBus azureBus)
 {
     business_Repo = _business_Repo;
     AzureBus      = azureBus;
 }
コード例 #5
0
 public OrderedPlaced(IRestaurantBusiness _business_Repo)
 {
     business_Repo = _business_Repo;
 }
コード例 #6
0
 public SearchController(IRestaurantBusiness _business_Repo)
 {
     business_Repo = _business_Repo;
 }
コード例 #7
0
 public ReviewController(IRestaurantBusiness restaurantBusiness)
 {
     _restaurantBusiness = restaurantBusiness;
 }
コード例 #8
0
 public ReviewController(IRestaurantBusiness _business_Repo)
 {
     business_Repo = _business_Repo;
 }
コード例 #9
0
 public SearchController(IRestaurantBusiness _business_Repo, IMessagePublisher _messagePublisher)
 {
     business_Repo    = _business_Repo;
     messagePublisher = _messagePublisher;
 }
コード例 #10
0
 public SearchController(IRestaurantBusiness _business_Repo, ILogService _logService)
 {
     business_Repo = _business_Repo;
     loggerService = _logService;
 }
コード例 #11
0
 public ReceiveMessage(IRestaurantBusiness restaurantBusiness)
 {
     _restaurantBusiness = restaurantBusiness;
     //subscriptionClient = new SubscriptionClient(ServiceBusConnectionString, TopicName, SubscriptionName);
 }