public ActionResult Add(AddVModel vModel) { if (ModelState.IsValid) { CollectionService service = new CollectionService(); service.Add(vModel.CollectionEntity); } return(View(vModel)); }
public ActionResult Add(AddVModel vModel) { if (ModelState.IsValid) { CollectionService service = new CollectionService(); service.Add(vModel.CollectionEntity); } return(View(vModel)); }