public ActionResult Create() { var entity = new aloTipos { }; UnitOfWork.AloTipoRepository.Insert(entity); UnitOfWork.Save(); return PartialView(new aloTipoInput { Id = entity.Id }); }
private static object MapToGridModel(aloTipos o) { return new { o.Id, o.nombre, o.clase, o.croquis, o.idSede_idSede, o.restricFDStempAlta, }; }