public async Task OnGetAsync(long id) { Dto = await _service.GetByIdAsync(id); if (Dto == null) { throw new KuDataNotFoundException(); } }
public async Task <IActionResult> SaveRemark(WxUserDto model) { await service.SaveRemarkAsync(model); return(JsonData(true)); }