daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public async Task<IActionResult> GetTblRequestData([FromRoute] int id)
  2. {
  3.     if (!ModelState.IsValid)
  4.     {
  5.         return BadRequest(ModelState);
  6.     }
  7.  
  8.     var tblRequestData = await _context.TblRequestData.SingleOrDefaultAsync(m => m.Request == id);
  9.  
  10.     if (tblRequestData == null)
  11.     {
  12.         return NotFound();
  13.     }
  14.  
  15.     return Ok(tblRequestData);
  16. }
  17.    
  18. <ul class="list-group">
  19.                 <li class="list-group-item">Request ID: {{request_Id}}</li>
  20.                 <li class="list-group-item">Tracking Number: {{tracking_number}}</li>
  21.                 <li class="list-group-item">Company: {{company_no}}</li>
  22.                 <li class="list-group-item">Customer Number: {{customer_no}}</li>
RAW Paste Data
Top