Exemplo n.º 1
0
        public int ActualizaDetalleMantencionGestion(GestionMantencionEntity GestionMantUp)
        {
            string Token = ActionContext.Request.Headers.GetValues("Token").First();

            return(Business.Data.PerfilEmpresasDataAccess.ModificaGestionMantencion(Token, GestionMantUp.IdGesMantencion, GestionMantUp.RutEmpresa, GestionMantUp.Tema, GestionMantUp.SubTema, GestionMantUp.RutAfiliado, GestionMantUp.Comentarios));
        }
Exemplo n.º 2
0
        public int NuevaGestionMantencion(GestionMantencionEntity GestionMant)
        {
            string Token = ActionContext.Request.Headers.GetValues("Token").First();

            return(Business.Data.PerfilEmpresasDataAccess.InsertaGestionMantencion(Token, GestionMant.IdCabGesMantencion, GestionMant.RutEmpresa, GestionMant.Tema, GestionMant.SubTema, GestionMant.RutAfiliado, GestionMant.Comentarios, GestionMant.Alerta));
        }