コード例 #1
0
 public IActionResult Put([FromRoute] int id, [FromBody] PhysicalExaminationDto examination)
 {
     return(new JsonVoidResult
     {
         Errors = null,
         StatusCode = HttpStatusCode.OK,
         Message = null
     });
 }
コード例 #2
0
 public IActionResult LinkFieldToCatalog([FromRoute] int id, [FromBody] PhysicalExaminationDto examination)
 {
     return(new JsonResult <int>
     {
         Errors = null,
         StatusCode = HttpStatusCode.OK,
         Data = new Random().Next(),
         Message = null
     });
 }
コード例 #3
0
 public IActionResult Post([FromBody] PhysicalExaminationDto examination)
 {
     return(new JsonResult <int>
     {
         Errors = null,
         StatusCode = HttpStatusCode.Created,
         Data = new Random().Next(),
         Message = null
     });
 }