public ActionResult Search(string masterControllerAction = null, string masterUserId = null) { UserClaimCollectionModel userClaimCollectionModel = new UserClaimCollectionModel(ActivityOperations, "Search", masterControllerAction, masterUserId); try { if (IsOperation(userClaimCollectionModel.OperationResult)) { return(ZPartialView(userClaimCollectionModel)); } } catch (Exception exception) { userClaimCollectionModel.OperationResult.ParseException(exception); } return(JsonResultOperationResult(userClaimCollectionModel.OperationResult)); }
public ActionResult Index(string masterEntity = null, string masterKey = null) { UserClaimCollectionModel userClaimCollectionModel = new UserClaimCollectionModel(ActivityOperations, "Index", null, masterEntity, masterKey); try { if (IsIndex(userClaimCollectionModel.OperationResult)) { return(ZView(userClaimCollectionModel)); } } catch (Exception exception) { userClaimCollectionModel.OperationResult.ParseException(exception); } return(ZViewOperationResult(userClaimCollectionModel.OperationResult)); }