public PlaceService(HttpClient httpClient, SearchStorage storage)
 {
     _storage    = storage;
     _httpClient = httpClient;
     BaseUrl     = "https://localhost:";
     Port        = "5001";
 }
        public IActionResult Enter(ApplicationResponse appResponse)
        {
            if (!ModelState.IsValid)
            {
                return(View());
            }
            else
            {
                SearchStorage.AddApplication(appResponse);
                //add new data to database
                _moviesdb.Movies.Add(appResponse);
                _moviesdb.SaveChanges();

                return(View("Confirmation", appResponse));
            }
        }
 public SearchQueueService(SearchService searchService, IBusControl busControl, SearchStorage searchStorage)
 {
     _searchService = searchService;
     _busControl    = busControl;
     _searchStorage = searchStorage;
 }
 public SearchService(SearchStorage searchStorage)
 {
     _searchStorage = searchStorage;
 }