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