Ejemplo n.º 1
0
 public ActionResult Add(AddVModel vModel)
 {
     if (ModelState.IsValid)
     {
         ARService service = new ARService();
         service.Add(vModel.AREntity);
     }
     return(View(vModel));
 }
Ejemplo n.º 2
0
 public ActionResult Add(AddVModel vModel)
 {
     if (ModelState.IsValid)
     {
         CollectionService service = new CollectionService();
         service.Add(vModel.CollectionEntity);
     }
     return(View(vModel));
 }
Ejemplo n.º 3
0
        public ActionResult Add()
        {
            AddVModel vModel = new AddVModel();

            return(View(vModel));
        }