//public static Guid InsertOtherAccountNumber(Guid userGuid) //{ // Business.AccountInformation accountInfoController = new Business.AccountInformation(); // Common.AccountInformation accountInfo = new Common.AccountInformation(); // accountInfo.Owner = "0"; // accountInfo.Bank = 0; // accountInfo.Branch = "0"; // accountInfo.AccountNo = "0"; // //accountInfo.Type = (int)Business.TypeAccountInformation.Other; // accountInfo.IsActive = true; // accountInfo.UserGuid = userGuid; // return accountInfoController.Insert(accountInfo); //} //public static DataTable GetTypeAccount(Guid userGuid, int type) //{ // Business.AccountInformation accountInfoController = new Business.AccountInformation(); // return accountInfoController.GetTypeAccount(userGuid, type); //} public static Common.AccountInformation LoadAccountInformation(Guid accountNumberGuid) { Business.AccountInformation accountInfoController = new Business.AccountInformation(); Common.AccountInformation accountInfo = new Common.AccountInformation(); accountInfoController.Load(accountNumberGuid, accountInfo); return(accountInfo); }
public static DataTable GetAccountOfReferenceID(string ReferenceID) { Business.AccountInformation accountInfoController = new Business.AccountInformation(); return(accountInfoController.GetAccountOfReferenceID(ReferenceID)); }
public static DataTable GetAccountsIsActiveOnline(Guid userGuid) { Business.AccountInformation accountInfoController = new Business.AccountInformation(); return(accountInfoController.GetAccountsIsActiveOnline(userGuid)); }
public static bool Delete(Guid guid) { Business.AccountInformation accountInfoController = new Business.AccountInformation(); return(accountInfoController.Delete(guid)); }
public static DataTable GetPagedAccountInformations(Guid userGuid, string sortField, int pageNo, int pageSize, ref int resultCount) { Business.AccountInformation accountInfoController = new Business.AccountInformation(); return(accountInfoController.GetPagedAccountInformations(userGuid, sortField, pageNo, pageSize, ref resultCount)); }
public static bool UpdateAccount(Common.AccountInformation accountInfo) { Business.AccountInformation accountInfoController = new Business.AccountInformation(); return(accountInfoController.UpdateAccount(accountInfo)); }
public static bool Insert(Common.AccountInformation accountNumber) { Business.AccountInformation accountInfoController = new Business.AccountInformation(); return(accountInfoController.Insert(accountNumber) != Guid.Empty ? true : false); }