public virtual void UpdateBankBySameCAId()
        {
            var localbankdto = BankService.GetById(7);

            localbankdto.Alias      = "Kkkkk";
            localbankdto.URL        = "kotak.com";
            localbankdto.CAId       = 1;
            this.BankBranchInstance = BankBranchService.Update(BankBranchInstance, CurrentUserInstance.UserName);
            Assert.IsTrue(this.BankBranchInstance.BranchOfBank.BankId == localbankdto.BankId, "bank Id should have remained the same");
        }
        public virtual void UpdateBank()
        {
            this.CreateBankBranch();
            var id = BankBranchInstance.BranchOfBank.BankId;

            BankBranchInstance.BranchOfBank.BankName = "State Bank of India";
            BankBranchInstance.BranchOfBank.URL      = "www.statebankofindia.com";
            this.BankBranchInstance = BankBranchService.Update(BankBranchInstance, CurrentUserInstance.UserName);
            Assert.IsTrue(this.BankBranchInstance.BranchOfBank.BankId == id, "bank Id should have remained the same");
        }