Added new Models and Razor Template
This commit is contained in:
19
WGneu/Documents/TestTemplateModel.cshtml.cs
Normal file
19
WGneu/Documents/TestTemplateModel.cshtml.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WGneu.Models;
|
||||
|
||||
namespace WGneu.Documents {
|
||||
public class TestTemplateModel {
|
||||
|
||||
public IQueryable<Country> Countries { get; set; }
|
||||
|
||||
public TestTemplateModel(WgContext c) {
|
||||
Countries = c.Countries;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user