Exemplo n.º 1
0
        public ActionResult Create()
        {
            var entity = new aloTipos {  };
            UnitOfWork.AloTipoRepository.Insert(entity);
            UnitOfWork.Save();

            return PartialView(new aloTipoInput { Id = entity.Id });
        }
Exemplo n.º 2
0
 private static object MapToGridModel(aloTipos o)
 {
     return
         new
         {
             o.Id,
             o.nombre,
             o.clase,
             o.croquis,
             o.idSede_idSede,
             o.restricFDStempAlta,
         };
 }