Ejemplo n.º 1
0
        /// <summary>
        /// this method is for Get List of Reasons By Category.
        /// </summary>
        /// <param name="Category">
        /// Category Name pass as parameter.
        /// </param>
        /// <returns>
        /// Return list Of Reasons.
        /// </returns>
        public List <Reason> GetReasons(String Category)
        {
            List <Reason> _lsReasons = new List <Reason>();

            try
            {
                _lsReasons = cRtnreasons.ReasonByCategoryName(Category);
            }
            catch (Exception)
            {
            }
            return(_lsReasons);
        }
Ejemplo n.º 2
0
 public List <Reason> ReasonByCategoryName(string CategoryName)
 {
     return(_cReasons.ReasonByCategoryName(CategoryName));
 }