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