public Task <MiniProgramDto> GetAsync(Guid id)
 {
     return(_service.GetAsync(id));
 }
Ejemplo n.º 2
0
        public virtual async Task OnGetAsync()
        {
            var dto = await _service.GetAsync(Id);

            ViewModel = ObjectMapper.Map <MiniProgramDto, CreateEditMiniProgramViewModel>(dto);
        }