blob: 8ec10301cafc8ff001ee6c971b79b717808512de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using Microsoft.AspNetCore.Mvc;
using MyDarling.Models;
namespace MyDarling.Controllers
{
public class BundleController : Controller
{
private DataContext context;
public BundleController(DataContext context)
{
this.context = context;
}
public async Task<IActionResult> Show(int id)
{
return View(await context.UnderwearBundles.FindAsync(id));
}
}
}
|