public IHttpActionResult ReadAll() { using (var scope = _contextScopeFactory.CreateReadOnly()) { var personGroups = _personGroupService.GetAll(); return(Ok(personGroups)); } }