public IActionResult OnGet() { Jewelries = jewelryService.GetAllJewelries().ToList(); return(Page()); }
public void OnGet(int id) { jewelries = jewelryService.GetAllJewelries(); Jewelry = jewelryService.GetJewelry(id); }
public IActionResult OnGet() { Jewelries = jewelryService.GetAllJewelries().ToList(); return(Page()); }
public void OnGet(int id) { jewelries = jewelryService.GetAllJewelries(); Jewelry = jewelryService.GetJewelry(id); }