public async Task <IActionResult> SetUpFollower(int userId, int id) { if (!AuthorizeUser(userId)) { return(Unauthorized()); } try { await Task.Run(() => _followerService.SetUpFollower(userId, id)); return(Ok()); } catch (EntityNotFoundException) { return(BadRequest("Can't set up follower")); } }