This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $("#txtSearch").autocomplete({ | |
| source: function (request, response) { | |
| $.ajax({ | |
| url: "/Home/Getsrchresult", | |
| type: "POST", | |
| dataType: "json", | |
| data: { term: request.term,location:$('#location').val() }, | |
| success: function (data) { | |
| response($.map(data, function (item) { | |
| return { label: item.srchresult+"-"+item.place, value: item.srchresult+"-"+item.place }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Test] | |
| public void Index_Action_Should_Return_BugsListVM_Object_With_Correct_Number_Of_Issues() | |
| { | |
| //IF the db has 2 issues of Location "SPRNT", the Index action should return 2 items in the Model/ViewModel | |
| //Arrange | |
| const int fakeTeamID = 1; | |
| var _session = MockRepository.GenerateStrictMock<HttpSessionStateBase>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protected string RenderPartialView(string viewName, object model, ViewDataDictionary dictionary = null) | |
| { | |
| if (string.IsNullOrEmpty(viewName)) | |
| viewName = this.ControllerContext.RouteData.GetRequiredString("action"); | |
| this.ViewData.Model = model; | |
| if (dictionary != null) | |
| { | |
| foreach (var item in dictionary.Keys) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body | |
| { | |
| font-family: 'WOL_SB','Segoe UI Semibold','Segoe UI',Tahoma,Helvetica,sans-serif; | |
| } | |
| #tblAdd | |
| { | |
| margin:0 auto; |
NewerOlder