private string SaveDepartmentInfo(VMMasterForm MstrInf)
        {
            var DeptCode = _departmentService.All().ToList().FirstOrDefault(x => x.DeptCode == MstrInf.Code);

            if (DeptCode == null)
            {
                Department _dept = new Department();

                _dept.DeptCode      = MstrInf.Code;
                _dept.DeptName      = MstrInf.Name;
                _dept.DeptLocalName = MstrInf.LocalName;
                _dept.DeptDesc      = MstrInf.Descr;

                _departmentService.Add(_dept);
                _departmentService.Save();

                var DeptID = _dept.DeptID;

                TransactionLogService.SaveTransactionLog(_transactionLogService, "MasterInformation", "SaveDepartmentInfo",
                                                         DeptID.ToString(), Session["UserName"].ToString());

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