public DetachedController(IDetachedService <TEntity, TQuery> detachedService)
 {
     _detachedService = detachedService;
 }