Ejemplo n.º 1
0
        public virtual async Task <IActionResult> OnPostAsync()
        {
            var dto = ObjectMapper.Map <CreateEditWeChatAppViewModel, CreateUpdateWeChatAppDto>(ViewModel);
            await _appService.UpdateAsync(Id, dto);

            return(NoContent());
        }
Ejemplo n.º 2
0
 public Task <WeChatAppDto> UpdateAsync(Guid id, CreateUpdateWeChatAppDto input)
 {
     return(_appService.UpdateAsync(id, input));
 }