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