public ActionResult Index(int id) { using (var collectService = new CollectsService()) { ViewBag.collectId = id; var collectionsGifts = collectService.GetCollectsGiftsIndex(id); return(View(collectionsGifts)); } }
public ActionResult Index(int id) { using (var collectService = new CollectsService()) { ViewBag.collectId = id; var collectionsGifts = collectService.GetCollectsGiftsIndex(id); return(View(collectionsGifts)); } }