public ActionResult Agregar(string Nombre) { EstadoPedidoBO ObjBO = new EstadoPedidoBO(); ObjBO.Nombre = Nombre; ObjBO.Estado = true; ObjModel.AgregarEstado(ObjBO); return(RedirectToAction("EstadoPedido", "EstadoPedido")); }
public ActionResult Agregar(string Nombre) { EstadoPedidoBO ObjBO = new EstadoPedidoBO(); ObjBO.Nombre = Nombre; ObjBO.Estado = true; ObjModel.AgregarEstado(ObjBO); return(RedirectToAction("EstadoPedido", "EstadoPedido")); }