Ejemplo n.º 1
0
        public async Task OnGetAsync(long id)
        {
            Dto = await _service.GetByIdAsync(id);

            if (Dto == null)
            {
                throw new KuDataNotFoundException();
            }
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> SaveRemark(WxUserDto model)
        {
            await service.SaveRemarkAsync(model);

            return(JsonData(true));
        }