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)); }
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)); }