public async Task <IActionResult> OnPostAsync() { if (!ModelState.IsValid) { throw new KuArgNullException(); } await _service.SaveAsync(Dto); return(Json(true)); }
public async Task <IActionResult> SaveTag(WxUserTagDto model) { await tagService.SaveAsync(model); return(JsonData(true)); }