0
0
MyDarling/Controllers/BundleController.cs
2023-02-06 07:11:05 +03:00

18 lines
373 B
C#

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));
}
}
}