Beispiel #1
0
 public PostModel(NewBlog.Models.BlogDbContext context,
                  ILogger <PostModel> logger,
                  IConfiguration configuration,
                  IHttpClientFactory clientFactory)
 {
     _context       = context;
     _logger        = logger;
     _configuration = configuration;
     _clientFactory = clientFactory;
 }
Beispiel #2
0
 public IndexModel(NewBlog.Models.BlogDbContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public CreateModel(NewBlog.Models.BlogDbContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public DeleteModel(NewBlog.Models.BlogDbContext context)
 {
     _context = context;
 }
Beispiel #5
0
 public EditModel(NewBlog.Models.BlogDbContext context)
 {
     _context = context;
 }
Beispiel #6
0
 public DetailsModel(NewBlog.Models.BlogDbContext context)
 {
     _context = context;
 }