public ActionResult CreateCollection(CollectionViewModel model) { if (ModelState.IsValid) { CollectionService.AddCollectionToUser(model); return(RedirectToAction("Collections", "Collection")); } return(View(model)); }
public ActionResult CreateCollection(CollectionViewModel model) { if (ModelState.IsValid) { CollectionService.AddCollectionToUser(model); return(RedirectToAction("Collections", "Collection")); } return(View(model)); }