public RenewalViewModel Get(string memberNo) { var userId = Convert.ToInt32(this.User.FindFirstValue(ClaimTypes.Name)); return(_renewal.GetMemberNo(memberNo, userId)); }
public RenewalViewModel Post([FromBody] MemberNoRequest memberNoRequest) { var userId = Convert.ToInt32(this.User.FindFirstValue(ClaimTypes.Name)); return(_renewal.GetMemberNo(memberNoRequest.MemberNo, userId)); }