public BusinessAggregateParams(IBaseUOW uow, IRepository <T> repository, IBusinessAggregateContext context,
                                Func <ClaimsPrincipal, Actions, Result> resourceAccess, List <ResourceLink> resourceMap, string resourceName,
                                string pluralResourceName)
     : base(uow, repository, context, resourceAccess, resourceMap, resourceName, pluralResourceName)
 {
     Repository = repository;
 }
        public BusinessAggregateParams(IBaseUOW uow, IRepository <T> repository, IBusinessAggregateContext context,
                                       Func <ClaimsPrincipal, Actions, Result> resourceAccess, List <ResourceLink> resourceMap, string resourceName,
                                       string pluralResourceName, params Expression <Func <T, bool> >[] parentKeys)
            : this(uow, repository, context, resourceAccess, resourceMap, resourceName, pluralResourceName)
        {
            ParentKeys = parentKeys;

            if (ParentKeys.Length > 0)
            {
                _keyValues = new Lazy <IDictionary <string, object> >(() => ExpressionKeys.Unwrap(ParentKeys));
            }
        }