public IHttpActionResult RemoveApp(string appId)
 {
     try
     {
         return(Ok(_applicationManager.Remove(appId)));
     }
     catch (ApplicationHostException ex)
     {
         return(ex.NotFound
             ? (IHttpActionResult)NotFound()
             : BadRequest(ex.Message));
     }
 }