public async Task <IActionResult> AddQualificationAsync(int providerVenueId)
        {
            var postcode = await _providerVenueService.GetVenuePostcodeAsync(providerVenueId);

            return(View("AddQualification", new AddQualificationViewModel
            {
                ProviderVenueId = providerVenueId,
                Postcode = postcode
            }));
        }
        public When_Qualification_Add_Is_Loaded()
        {
            var qualificationService = Substitute.For <IQualificationService>();

            _providerVenueService = Substitute.For <IProviderVenueService>();
            _providerVenueService.GetVenuePostcodeAsync(1)
            .Returns("CV1 2WT");

            var providerQualificationService = Substitute.For <IProviderQualificationService>();
            var routePathService             = Substitute.For <IRoutePathService>();

            var qualificationController = new QualificationController(_providerVenueService, qualificationService, providerQualificationService, routePathService);

            _result = qualificationController.AddQualificationAsync(1)
                      .GetAwaiter().GetResult();
        }