public Organization Execute(OrganizationByIdQueryParams queryParams) { var unitOfWork = _serviceFactory.GetService<IUnitOfWork>(); return unitOfWork.Organizations.Fetch().Where(x => x.Id == queryParams.OrganizationId).SingleOrDefault(); }
public Organization Execute(OrganizationByIdQueryParams queryParams) { var unitOfWork = _serviceFactory.GetService <IUnitOfWork>(); return(unitOfWork.Organizations.Fetch().Where(x => x.Id == queryParams.OrganizationId).SingleOrDefault()); }