public DataTable SelectAgentDashBoard() { DataTable dtbl = new DataTable(); DalAgent DalAgent = new DalAgent(); dtbl = DalAgent.SelectAgentDashBoard(this); DalAgent = null; return(dtbl); }
public DataSet SelectRecruitersStatusCount() { DataSet dtbl = new DataSet(); DalAgent DalAgent = new DalAgent(); dtbl = DalAgent.SelectRecruitersStatusCount(this); DalAgent = null; return(dtbl); }
//public long DeleteData() //{ // DalAgent DalAgent = new DalAgent(); // long status; // status = 0; // try // { // status = DalAgent.DeleteProduct(this); // DalAgent = null; // } // catch (Exception ex) // { // } // return status; //} //public void SelectData() //{ // DalAgent DalAgent = new DalAgent(); // IProduct iProduct; // iProduct = (IProduct)DalAgent.SelectProduct(this); // //_ShortName = iProduct.ShortName; // //_Name = iProduct.Name; // //_Address1 = iProduct.Address1; // //_Address2 = iProduct.Address2; // //_Address3 = iProduct.Address3; // //_Active = iProduct.Active; // DalAgent = null; //} public DataSet SelectAllData() { DataSet dts = new DataSet(); DalAgent DalAgent = new DalAgent(); dts = DalAgent.SelectAllAgent(this); DalAgent = null; return(dts); }
public long UpdateAgentAccess() { DalAgent DalAgent = new DalAgent(); long status; status = 0; try { _UserAction = 2; status = DalAgent.UpdateAgentAccess(this); DalAgent = null; } catch (Exception ex) { } return(status); }
public ArrayList ValidLogin() { DalAgent DalAgent = new DalAgent(); try { return(DalAgent.ValidAgentLogin(this)); } catch (Exception e) { throw e; } finally { DalAgent = null; } }
public long DeleteData() { _UserAction = 3; DalAgent DalAgent = new DalAgent(); long status; status = 0; try { status = DalAgent.DeleteAgent(this); DalAgent = null; } catch (Exception ex) { } return(status); }
public long InsertData() { long status; DalAgent DalAgent = new DalAgent(); status = 0; try { _UserAction = 1; status = DalAgent.UpdateAgent(this); DalAgent = null; } catch (Exception ex) { } return(status); }
public long ChangePassword() { long status; DalAgent DalAgent = new DalAgent(); status = 0; try { _UserAction = 2; status = DalAgent.ChangePassword(this); DalAgent = null; } catch (Exception e) { throw e; } return(status); }
public static Int32 DeleteAgent(Int32 agentId) { return(DalAgent.DeleteAgent(agentId)); }
public static AgentDS.AgentDSDataTable GetAgentByEmail(string email) { return(DalAgent.GetAgentByEmail(email)); }
public static Int32 UpdateAgent(Int32 agentId, Int32 userId, string firstName, string lastName, string email, string phone, bool publicEnabled) { return(DalAgent.UpdateAgent(agentId, userId, firstName, lastName, email, phone, publicEnabled)); }
public static Int32 InsertAgent(Int32 userId, string firstName, string lastName, string email, string phone, bool publicEnabled) { return(DalAgent.InsertAgent(userId, firstName, lastName, email, phone, publicEnabled)); }
public static UCENTRIK.DATASETS.AgentDS.AgentDSDataTable GetAgentByUser(Int32 userId) { UCENTRIK.DATASETS.AgentDS.AgentDSDataTable dt = DalAgent.GetAgentByUser(userId); return(processData(dt)); }
public static UCENTRIK.DATASETS.AgentDS.AgentDSDataTable SelectAgent(Int32 agentId) { UCENTRIK.DATASETS.AgentDS.AgentDSDataTable dt = DalAgent.SelectAgent(agentId); return(processData(dt)); }
public static UCENTRIK.DATASETS.AgentDS.AgentDSDataTable GetAllAgents() { UCENTRIK.DATASETS.AgentDS.AgentDSDataTable dt = DalAgent.GetAllAgents(); return(processData(dt)); }