コード例 #1
0
 public async Task <IActionResult> GetAddress(SingleValueModel request)
 {
     address = new List <InformationAddress>();
     dc      = new Dictionary <string, string>();
     if (string.IsNullOrEmpty(request.LineUserId))
     {
         dc.Add("result", "Line User ID is Empty");
         acc.REST_KeepLogRequest("Line User ID is Empty", func.JsonSerialize(request));
         return(NotFound(dc));
     }
     address = management.REST_GetAddress(request.LineUserId, request.AgreementNo);
     return(Ok(address));
 }