public RestaurantBranchController(IHttpContextAccessor httpContextAccessor, IRestaurantBranchBusiness restaurantBranchBusiness, IRestaurantBusiness restaurantBusiness) { _authenticationDto = httpContextAccessor.HttpContext.User.ToAuthenticationDto(); _restaurantBranchBusiness = restaurantBranchBusiness; _restaurantBusiness = restaurantBusiness; }
public MessagePublisher(IConfiguration configuration, IRestaurantBusiness restaurantBusiness) { _configuration = configuration; _restaurantBusiness = restaurantBusiness; _subscriptionClient = new SubscriptionClient( _configuration.GetConnectionString("ServiceBusConnectionString"), TOPIC_PATH, SUBSCRIPTION_NAME); }
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; }
public SearchController(IRestaurantBusiness _business_Repo, IAzureBus azureBus) { business_Repo = _business_Repo; AzureBus = azureBus; }
public OrderedPlaced(IRestaurantBusiness _business_Repo) { business_Repo = _business_Repo; }
public SearchController(IRestaurantBusiness _business_Repo) { business_Repo = _business_Repo; }
public ReviewController(IRestaurantBusiness restaurantBusiness) { _restaurantBusiness = restaurantBusiness; }
public ReviewController(IRestaurantBusiness _business_Repo) { business_Repo = _business_Repo; }
public SearchController(IRestaurantBusiness _business_Repo, IMessagePublisher _messagePublisher) { business_Repo = _business_Repo; messagePublisher = _messagePublisher; }
public SearchController(IRestaurantBusiness _business_Repo, ILogService _logService) { business_Repo = _business_Repo; loggerService = _logService; }
public ReceiveMessage(IRestaurantBusiness restaurantBusiness) { _restaurantBusiness = restaurantBusiness; //subscriptionClient = new SubscriptionClient(ServiceBusConnectionString, TopicName, SubscriptionName); }