public ActionResult Index() { ClearUrlDictionary(); ActivityCollectionModel activityCollectionModel = new ActivityCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Index" }; try { IsSearch(activityCollectionModel.OperationResult); } catch (Exception exception) { activityCollectionModel.OperationResult.ParseException(exception); } return(View(activityCollectionModel)); }
public ActionResult Search(string masterUrl = null, string masterControllerAction = null) { WriteUrlDictionary(masterUrl); ActivityCollectionModel activityCollectionModel = new ActivityCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Search", MasterControllerAction = masterControllerAction }; try { IsSearch(activityCollectionModel.OperationResult); } catch (Exception exception) { activityCollectionModel.OperationResult.ParseException(exception); } return(PartialView(activityCollectionModel)); }