Exemplo n.º 1
0
 public async Task <IActionResult> Put([FromBody] AccessrecordDto accessrecord)
 {
     return(Success(await _accessrecordService.CreateAsync(accessrecord)));
 }
Exemplo n.º 2
0
        public async Task <IActionResult> Post([FromBody] AccessrecordDto accessrecord)
        {
            await _accessrecordService.UpdateAsync(accessrecord);

            return(Success());
        }