public ObjectVersion ClientCaseRetail_Create(BankClient bankClient, BankCaseRetail CaseRetail) { ObjectVersion RetValue = new ObjectVersion(); BankClientClass bankClientClass = new BankClientClass(); string PID = bankClient.PersonalID; ObjectVersion objectVersion = bankClientClass.SearchClientByPersonalID(PID); if (objectVersion != null) { RetValue = objectVersion; } else { RetValue = bankClientClass.CreateClient(bankClient).ObjectVersion; } CaseRetail.Client = Convert.ToInt32(RetValue.DisplayID); BankCaseRetailClass bankCaseRetailClass = new BankCaseRetailClass(); string mAppID = CaseRetail.ApplicationID; RetValue = this.CaseRetail_SearchByApplicationID(mAppID); if (RetValue == null) { RetValue = bankCaseRetailClass.CreateCaseRetail(CaseRetail).ObjectVersion; } return(RetValue); }
public ObjectVersion Client_Create(BankClient bankClient) { BankClientClass bankClientClass = new BankClientClass(); string PID = bankClient.PersonalID; ObjectVersion objectVersion = bankClientClass.SearchClientByPersonalID(PID); if (objectVersion != null) { return(objectVersion); } else { return(bankClientClass.CreateClient(bankClient).ObjectVersion); } }
public ObjectVersion Client_SearchByPersonalID(string personalID) { BankClientClass bankClientClass = new BankClientClass(); return(bankClientClass.SearchClientByPersonalID(personalID)); }
public List <CaseInfo> Client_GetCaseInfo(string clientID) { BankClientClass bankClientClass = new BankClientClass(); return(bankClientClass.GetCaseInfoList(clientID)); }