private string SaveBranchInfo(VMMasterForm MstrInf)
        {
            var BrCode = _brInfoService.All().ToList().FirstOrDefault(x => x.BranchCode == MstrInf.Code);

            if (BrCode == null)
            {
                Branch _brInfo = new Branch();

                _brInfo.BranchCode  = MstrInf.Code;
                _brInfo.BranchName  = MstrInf.Name;
                _brInfo.BrLocalName = MstrInf.LocalName;
                _brInfo.BrAddress   = MstrInf.Descr;

                _brInfoService.Add(_brInfo);
                _brInfoService.Save();

                var BrID = _brInfo.BrID;

                TransactionLogService.SaveTransactionLog(_transactionLogService, "MasterInformation", "SaveBranchInfo",
                                                         BrID.ToString(), Session["UserName"].ToString());

                return("1");
            }
            else
            {
                return("2");
            }
        }