コード例 #1
0
 public ro_Departamento_Info Get_Info_Departamento(int IdEmpresa, int IdDepartamento)
 {
     try
     {
         ro_Departamento_Data data = new ro_Departamento_Data();
         return(data.Get_Info_Departamento(IdEmpresa, IdDepartamento));
     }
     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_Info_Departamento", ex.Message), ex)
               {
                   EntityType = typeof(ro_Departamento_Bus)
               };
     }
 }
コード例 #2
0
 public List <ro_Departamento_Info> Get_List_Departamento(int IdEmpresa, int IdDivision, int IdArea)
 {
     try
     {
         List <ro_Departamento_Info> lM   = new List <ro_Departamento_Info>();
         ro_Departamento_Data        data = new ro_Departamento_Data();
         lM = data.Get_List_Departamento(IdEmpresa, IdDivision, IdArea);
         return(lM);
     }
     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_Departamento", ex.Message), ex)
               {
                   EntityType = typeof(ro_Departamento_Bus)
               };
     }
 }