public IHttpActionResult Get() { ServiceReviewServices srService = CreateServiceReviewService(); var services = srService.GetServiceReviews(); return(Ok(services)); }
private ServiceReviewServices CreateServiceReviewService() { var userId = Guid.Parse(User.Identity.GetUserId()); var srService = new ServiceReviewServices(userId); return(srService); }