Exemplo n.º 1
0
        //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);
        }
Exemplo n.º 2
0
 public static DataTable GetAccountOfReferenceID(string ReferenceID)
 {
     Business.AccountInformation accountInfoController = new Business.AccountInformation();
     return(accountInfoController.GetAccountOfReferenceID(ReferenceID));
 }
Exemplo n.º 3
0
 public static DataTable GetAccountsIsActiveOnline(Guid userGuid)
 {
     Business.AccountInformation accountInfoController = new Business.AccountInformation();
     return(accountInfoController.GetAccountsIsActiveOnline(userGuid));
 }
Exemplo n.º 4
0
 public static bool Delete(Guid guid)
 {
     Business.AccountInformation accountInfoController = new Business.AccountInformation();
     return(accountInfoController.Delete(guid));
 }
Exemplo n.º 5
0
 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));
 }
Exemplo n.º 6
0
 public static bool UpdateAccount(Common.AccountInformation accountInfo)
 {
     Business.AccountInformation accountInfoController = new Business.AccountInformation();
     return(accountInfoController.UpdateAccount(accountInfo));
 }
Exemplo n.º 7
0
 public static bool Insert(Common.AccountInformation accountNumber)
 {
     Business.AccountInformation accountInfoController = new Business.AccountInformation();
     return(accountInfoController.Insert(accountNumber) != Guid.Empty ? true : false);
 }