/// <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); }
public List <Reason> ReasonByCategoryName(string CategoryName) { return(_cReasons.ReasonByCategoryName(CategoryName)); }