public bool EliminarDB(Aca_PeriodoLectivo_Info info, ref string mensaje) { bool resultado = false; try { da = new Aca_PeriodoLectivo_Data(); resultado = da.AnularDB(info, ref mensaje); return(resultado); } catch (Exception ex) { Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message); throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "EliminarDB", ex.Message), ex) { EntityType = typeof(Aca_PeriodoLectivo_Bus) }; } }
public List <Aca_PeriodoLectivo_Info> Get_List_Anio_Lectivo(int IdInstitucion) { List <Aca_PeriodoLectivo_Info> lstAnioLec = new List <Aca_PeriodoLectivo_Info>(); try { da = new Aca_PeriodoLectivo_Data(); lstAnioLec = da.Get_List_Anio_Lectivo(IdInstitucion); return(lstAnioLec); } catch (Exception ex) { Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message); throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "Get_List_Anio_Lectivo", ex.Message), ex) { EntityType = typeof(Aca_PeriodoLectivo_Bus) }; } }