public async Task <ActionResult> RemoveLike(int friendId) { var userId = User.GetUserId(); _likesRepository.DeleteLike(userId, friendId); if (await _likesRepository.SaveAllAsync()) { return(Ok()); } return(BadRequest("Unable to unlike user")); }