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