public async Task <IActionResult> Update(int feedId, string url) { var user = await _authenticator.VerifyClaim(HttpContext.Request.Cookies["sessionKey"]); if (user == null) { return(new ForbidResult()); } if (!await _feedService.CheckOwnership(user.Id, feedId)) { return(new ForbidResult()); } await _feedService.ChangeUrl(feedId, url); return(new OkResult()); }