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

            _apiUrl = _configuration["AppSettings:ApiRootUrl"];
        }
Ejemplo n.º 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"];
        }
Ejemplo n.º 3
0
 public IndexModel(SecondChanceParts.Web.Data.SecondChancePartsContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public CreateModel(SecondChanceParts.Web.Data.SecondChancePartsContext context)
 {
     _context = context;
 }
 public DetailsModel(SecondChanceParts.Web.Data.SecondChancePartsContext context)
 {
     _context = context;
 }