public ActionResult Create(LoteViewModel model) { try { var service = new FabricacionServices.LotesServiceClient(); service.InsertarLote(model.NroLote, 1); return RedirectToAction("Index", new {creado = true}); } catch { return View(); } }