よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public IHttpActionResult UnBlockUser(string userToUnBlockId) { var userId = RequestContext.Principal.Identity.GetUserId(); var userToBlock = _userService.GetById(userToUnBlockId); if (userToBlock == null) { return(NotFound()); } _requestService.UnBlockUser(userToUnBlockId, userId); return(Ok()); }