public CheckoutModel(SecondChanceParts.Web.Data.SecondChancePartsContext context, IConfiguration configuration) { _context = context; _configuration = configuration; _apiUrl = _configuration["AppSettings:ApiRootUrl"]; }
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"]; }
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; }