public int RestrictedlistSearchLimit(string sConnectionString, int iUserId) { int resultCode = 0; try { using (var objRestrictedListDAL = new RestrictedListDAL()) { resultCode = objRestrictedListDAL.RestrictedlistSearchLimit(sConnectionString, iUserId); } } catch (Exception exp) { throw exp; } return(resultCode); }
/// <summary> /// This method is used to get restricted list company details for given company id /// </summary> /// <param name="sConnectionString"></param> /// <param name="iCompanyId"></param> /// <returns></returns> public RestrictedListDTO GetRestrictedListCompanyDetails(string sConnectionString, int iCompanyId) { RestrictedListDTO objRestrictedListDTO = null; try { using (var objRestrictedListDAL = new RestrictedListDAL()) { objRestrictedListDTO = objRestrictedListDAL.GetRestrictedListCompanyDetails(sConnectionString, iCompanyId); } } catch (Exception exp) { throw exp; } return(objRestrictedListDTO); }
public RestrictedSearchAudittDTO RestrictedlistdetailsSL(string i_sConnectionString, Hashtable ht_SearchParam, out int i_nCount) { RestrictedSearchAudittDTO resultl = null; try { //RestrictedListDAL objActivityDAL = new RestrictedListDAL(); using (var objRestrictedListDAL = new RestrictedListDAL()) { resultl = objRestrictedListDAL.Restrictedlistdetails(i_sConnectionString, ht_SearchParam, out i_nCount); } } catch (Exception exp) { throw exp; } return(resultl); }
public Int32 SaveRestrictedList(string i_sConnectionString, Hashtable ht_SearchParam, DataTable dt_RLList) { Int32 bReturn; try { //InsiderTradingDAL.RestrictedListDAL objDelegationDetailsDAL = new InsiderTradingDAL.RestrictedListDAL(); using (var objRestrictedListDAL = new RestrictedListDAL()) { bReturn = objRestrictedListDAL.SaveRestrictedListData(i_sConnectionString, ht_SearchParam, dt_RLList); } } catch (Exception exp) { throw exp; } return(bReturn); }
/// <summary> /// /// </summary> /// <param name="i_sConnectionString"></param> /// <param name="ht_SearchParam"></param> /// <returns></returns> public List <RestrictedListDTO> AutoCompleteListSL(string i_sConnectionString, Hashtable ht_SearchParam) { List <RestrictedListDTO> lstRestrictedListDTO = new List <RestrictedListDTO>(); try { //RestrictedListDAL objActivityDAL = new RestrictedListDAL(); using (var objRestrictedListDAL = new RestrictedListDAL()) { lstRestrictedListDTO = objRestrictedListDAL.AutoCompleteList(i_sConnectionString, ht_SearchParam); } } catch (Exception exp) { throw exp; } return(lstRestrictedListDTO); }
/// <summary> /// This function will be used for geeting the mapping of activity and resource. /// </summary> /// <param name="i_sConnectionString"></param> /// <param name="i_objUserDetailsDTO"></param> public List <RestrictedListDTO> GetActivityRestrictedListDetails(Hashtable ht_Parameter) { List <RestrictedListDTO> lstRestrictedListDTO = new List <RestrictedListDTO>(); try { //RestrictedListDAL objActivityDAL = new RestrictedListDAL(); using (var objRestrictedListDAL = new RestrictedListDAL()) { lstRestrictedListDTO = objRestrictedListDAL.GetActivityRestrictedListDetails(ht_Parameter); } } catch (Exception exp) { throw exp; } return(lstRestrictedListDTO); }