public IHttpActionResult Create(PersonGroupModel model) { using (var scope = _contextScopeFactory.CreateReadOnly()) { var personGroup = _personGroupService.Add(model); return(Ok(personGroup)); } }