public ActionResult Search(string masterControllerAction = null, string masterEntity = null, string masterKey = null) { CategoryCollectionModel categoryCollectionModel = new CategoryCollectionModel(ActivityOperations, "Search", masterControllerAction, masterEntity, masterKey); try { if (IsOperation(categoryCollectionModel.OperationResult)) { return(ZPartialView(categoryCollectionModel)); } } catch (Exception exception) { categoryCollectionModel.OperationResult.ParseException(exception); } return(JsonResultOperationResult(categoryCollectionModel.OperationResult)); }
public ActionResult Index(string masterEntity = null, string masterKey = null) { CategoryCollectionModel categoryCollectionModel = new CategoryCollectionModel(ActivityOperations, "Index", null, masterEntity, masterKey); try { if (IsIndex(categoryCollectionModel.OperationResult)) { return(ZView(categoryCollectionModel)); } } catch (Exception exception) { categoryCollectionModel.OperationResult.ParseException(exception); } return(ZViewOperationResult(categoryCollectionModel.OperationResult)); }
public ActionResult Index() { ClearUrlDictionary(); CategoryCollectionModel categoryCollectionModel = new CategoryCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Index" }; try { IsSearch(categoryCollectionModel.OperationResult); } catch (Exception exception) { categoryCollectionModel.OperationResult.ParseException(exception); } return(View(categoryCollectionModel)); }
public ActionResult Search(string masterUrl = null, string masterControllerAction = null) { WriteUrlDictionary(masterUrl); CategoryCollectionModel categoryCollectionModel = new CategoryCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Search", MasterControllerAction = masterControllerAction }; try { IsSearch(categoryCollectionModel.OperationResult); } catch (Exception exception) { categoryCollectionModel.OperationResult.ParseException(exception); } return(PartialView(categoryCollectionModel)); }