示例#1
0
        public virtual IActionResult Get()
        {
            var context = new RepositoryQueryContext <TReadModel, Guid>(readModelRepository, HttpContext);
            var values  = context.GetValues();

            return(Ok(values));
        }
示例#2
0
        public virtual IActionResult Get()
        {
            var context = new RepositoryQueryContext <TAggregateRoot, TKey>(Repository, HttpContext);
            var values  = context.GetValues();

            return(Ok(values));
        }