public string GetReleaseNotes(string uid) { if (uid == null) { throw new ArgumentNullException(nameof(uid)); } var packageUid = PackageUid.Parse(uid); if (string.IsNullOrEmpty(packageUid.Version)) { HttpContext.Response.StatusCode = (int)HttpStatusCode.BadRequest; return(null); } return(_packageManagerService.GetPackageReleaseNotes(packageUid)); }