public CheckoutModel(SecondChanceParts.Web.Data.SecondChancePartsContext context, IConfiguration configuration)
        {
            _context       = context;
            _configuration = configuration;

            _apiUrl = _configuration["AppSettings:ApiRootUrl"];
        }
Beispiel #2
0
        public DetailsModel(SecondChanceParts.Web.Data.SecondChancePartsContext context,
                            IConfiguration configuration,
                            IHttpClientFactory clientFactory,
                            ILogger <PageModel> logger)
        {
            _context       = context;
            _configuration = configuration;
            _clientFactory = clientFactory;
            _logger        = logger;

            _apiUrl = _configuration["AppSettings:ApiRootUrl"];
        }
Beispiel #3
0
 public IndexModel(SecondChanceParts.Web.Data.SecondChancePartsContext context)
 {
     _context = context;
 }
 public CreateModel(SecondChanceParts.Web.Data.SecondChancePartsContext context)
 {
     _context = context;
 }
 public DetailsModel(SecondChanceParts.Web.Data.SecondChancePartsContext context)
 {
     _context = context;
 }