/// <summary>
        /// Search for a Job based on Number/Internal Tracking
        /// </summary>
        public void QuickSearch()
        {
            try
            {
                CS_Job job = null;
                using (_jobModel = new JobModel())
                {
                    if (!string.IsNullOrEmpty(_view.QuickSearchJobValue))
                        job = _jobModel.GetJobByNumber(_view.QuickSearchJobValue);
                }

                if (job != null)
                {
                    _view.QuickSearchJobId = job.ID;

                    WebUtil util = new WebUtil();
                    string querystring = util.BuildQueryStringToQuickSearch(_view);

                    string script = util.BuildNewWindowClientScript("/JobRecord.aspx", querystring, string.Empty, 870, 600, true, true, false);
                    _view.QuickSearchQueryString = script;
                }
                else
                {
                    _view.DisplayMessage("Job Not Found!", false);
                }
            }
            catch (Exception)
            {
                _view.DisplayMessage("There is an error searching the Job", false);
            }
        }
        public void ShouldBuildQueryStringForQuickSearch()
        {
            //Arrange
            Mock<IDefaultPageView> mockDefaultPageView = new Mock<IDefaultPageView>();
            mockDefaultPageView.SetupProperty(e => e.QuickSearchJobId, 1);
            WebUtil util = new WebUtil();

            //Act
            string queryString = util.BuildQueryStringToQuickSearch(mockDefaultPageView.Object);

            //Assert
            Assert.AreEqual("?JobId=1", queryString);
        }