public Boolean ReversarRol(ro_Comprobantes_Contables_Info info) { try { List <ro_area_Info> Lst = new List <ro_area_Info>(); using (EntitiesRoles Context = new EntitiesRoles()) { Context.spRo_Reverso_Rol(info.IdEmpresa, info.IdNomina, info.IdNominaTipo, info.IdPeriodo); } return(true); } catch (Exception ex) { string arreglo = ToString(); tb_sis_Log_Error_Vzen_Data oDataLog = new tb_sis_Log_Error_Vzen_Data(); tb_sis_Log_Error_Vzen_Info Log_Error_sis = new tb_sis_Log_Error_Vzen_Info(ex.ToString(), "", arreglo, "", "", "", "", "", DateTime.Now); mensaje = ex.InnerException + " " + ex.Message; oDataLog.Guardar_Log_Error(Log_Error_sis, ref mensaje); throw new Exception(ex.InnerException.ToString()); } }