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

            return(Success());
        }