Пример #1
0
 // DELETE api/<controller>/5
 public void Delete(string user_to_unfollow)
 {
     if (User.Identity.IsAuthenticated)
     {
         string user_id    = User.Identity.GetUserId();
         Twit   found_user = repo.GetTwitUser(user_id);
         repo.UnfollowUser(found_user.BaseUser.UserName, user_to_unfollow);
     }
 }