예제 #1
0
 public StudentsController(
     IConfiguration configuration,
     ToonsContext context
     )
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #2
0
        public IActionResult Index()
        {
            ToonsContext context = new ToonsContext();
            var          query   = from toon in context.People
                                   select toon;

            ViewBag.qry = query;
            return(View());
        }
예제 #3
0
 public PeopleController(IConfiguration configuration,
                         ToonsContext context,
                         IWebHostEnvironment env
                         )
 {
     _configuration = configuration;
     _context       = context;
     _env           = env;
 }
예제 #4
0
 public InstructorsController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #5
0
 public PeopleController(ToonsContext context)
 {
     _context = context;
 }
예제 #6
0
 public SicknessesController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #7
0
 public MoviesController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
 public FoodCategoriesController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #9
0
 public PlayersController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #10
0
 public OrganismsController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #11
0
 public MenuItemsController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #12
0
 public HospitalsController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #13
0
 public CompetitionsController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #14
0
 public RestaurantsController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
예제 #15
0
 public VehicleManufacturersController(IConfiguration configuration, ToonsContext context)
 {
     _configuration = configuration;
     _context       = context;
 }