public IHttpActionResult Read(int id) { using (var scope = _contextScopeFactory.CreateReadOnly()) { var personGroup = _personGroupService.GetById(id); return(Ok(personGroup)); } }
public IHttpActionResult Read(int id) { using (var scope = _contextScopeFactory.CreateReadOnly()) { var personGroup = _personGroupService.GetById(id); return(Ok(personGroup)); } }