Exemple #1
0
 public async Task <IActionResult> Put([FromBody] PrescriptionorderinfoDto prescriptionorderinfo)
 {
     return(Success(await _prescriptionorderinfoService.CreateAsync(prescriptionorderinfo)));
 }
Exemple #2
0
        public async Task <IActionResult> Post([FromBody] PrescriptionorderinfoDto prescriptionorderinfo)
        {
            await _prescriptionorderinfoService.UpdateAsync(prescriptionorderinfo);

            return(Success());
        }