Example #1
0
 public List <ProgramInfoEn> GetProgramList(string argEn, bool IsBM)
 {
     try
     {
         ProgramInfoDAL loDs = new ProgramInfoDAL();
         return(loDs.GetProgramList(argEn, IsBM));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
 /// <summary>
 /// Method to Get Programs
 /// </summary>
 /// <param name="argEn">ProgramInfo Entity as Input.SAFC_Code as Input Property.</param>
 /// <returns>Returns List Of Programs</returns>
 public List <ProgramInfoEn> GetList(ProgramInfoEn argEn)
 {
     try
     {
         ProgramInfoDAL loDs = new ProgramInfoDAL();
         return(loDs.GetList(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #3
0
 public List <StudentEn> GetAllMatricNoForPosting(AFCEn argEn)
 {
     try
     {
         ProgramInfoDAL loDs = new ProgramInfoDAL();
         return(loDs.GetAllMatricNoForPosting(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #4
0
 /// <summary>
 /// Method to Get ProgramInfo Entity
 /// </summary>
 /// <param name="argEn">ProgramInfo Entity is an Input.SAPG_SName as Input Property.</param>
 /// <returns>Returns ProgramInfo Entity</returns>
 public ProgramInfoEn GetItem(ProgramInfoEn argEn)
 {
     try
     {
         ProgramInfoDAL loDs = new ProgramInfoDAL();
         return(loDs.GetItem(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #5
0
 /// <summary>
 /// Method to Get List for all record
 /// </summary>
 /// <param name="argEn">SAPG_ProgramType as Input if not null.</param>
 /// <returns>Returns List of ProgramInfo</returns>
 public List <ProgramInfoEn> GetProgramListByDegreeType(DegreeTypeEn argEn)
 {
     try
     {
         ProgramInfoDAL loDs = new ProgramInfoDAL();
         return(loDs.GetProgramListByDegreeType(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #6
0
 /// <summary>
 /// Method to Get List of ProgramInfo by SAFC_Code
 /// </summary>
 /// <param name="argEn">ProgramInfo Entity as an Input.SAFC_Code  as Input Property.</param>
 /// <returns>Returns List of ProgramInfo</returns>
 public List <ProgramInfoEn> GetProgramInfoListAll(string argEn)
 {
     try
     {
         ProgramInfoDAL loDs = new ProgramInfoDAL();
         return(loDs.GetProgramInfoListAll(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #7
0
        /// <summary>
        /// Method to Delete ProgramInfo
        /// </summary>
        /// <param name="argEn">ProgramInfo Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool Delete(ProgramInfoEn argEn)
        {
            bool flag;

            using (TransactionScope ts = new TransactionScope())
            {
                try
                {
                    ProgramInfoDAL loDs = new ProgramInfoDAL();
                    flag = loDs.Delete(argEn);
                    ts.Complete();
                }
                catch (Exception ex)
                {
                    throw ex;
                }
            }
            return(flag);
        }