/// <summary> /// Insert and Update Agent Data /// </summary> /// <param name="hSSetting"></param> /// <param name="hSSettingModel"></param> /// <param name="tenantID"></param> /// <returns></returns> public int InsertUpdateAgentDetails(IHSSetting hSSetting, HSSettingModel hSSettingModel, int tenantID) { _IHSettingRepository = hSSetting; return(_IHSettingRepository.InsertUpdateAgentDetails(hSSettingModel, tenantID)); }
public List <HSSettingModel> GetStoreAgentDetailsById(IHSSetting hSSetting, int tenantID, int AgentID) { _IHSettingRepository = hSSetting; return(_IHSettingRepository.GetStoreAgentDetailsById(tenantID, AgentID)); }
/// <summary> /// Store Agent List /// </summary> /// <param name="hSSetting"></param> /// <param name="tenantID"></param> /// <returns></returns> public List <HSSettingModel> GetStoreAgentList(IHSSetting hSSetting, int tenantID, int BrandID, int StoreID) { _IHSettingRepository = hSSetting; return(_IHSettingRepository.GetStoreAgentList(tenantID, BrandID, StoreID)); }