よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public HttpResponseMessage AddFollowing(string name, string following) { try { UsersService.AddFollowingUser(new AddFollowingUserRequest { Follower = name, Following = following }); return(Request.CreateResponse(HttpStatusCode.OK)); } catch (Exception ex) { return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex)); } }