public async Task <IActionResult> Put(string id, [FromBody] NhomQuyenViewModel model) { return(await _nhomQuyenService.UpdateAsync(id, model)); }
public async Task <IActionResult> Post([FromBody] NhomQuyenViewModel model) { return(await _nhomQuyenService.InsertAsync(model)); }