コード例 #1
0
        public Organization Execute(OrganizationByIdQueryParams queryParams)
        {
            var unitOfWork = _serviceFactory.GetService<IUnitOfWork>();

            return unitOfWork.Organizations.Fetch().Where(x => x.Id == queryParams.OrganizationId).SingleOrDefault();
        }
コード例 #2
0
        public Organization Execute(OrganizationByIdQueryParams queryParams)
        {
            var unitOfWork = _serviceFactory.GetService <IUnitOfWork>();

            return(unitOfWork.Organizations.Fetch().Where(x => x.Id == queryParams.OrganizationId).SingleOrDefault());
        }