public Application GetApplication(string id) { var application = _api.GetApplication(id); if (application == null) { throw new ApiException(string.Format("Applicaton \"{0}\" could not be found", id)); } return application; }