public Task <MiniProgramDto> GetAsync(Guid id) { return(_service.GetAsync(id)); }
public virtual async Task OnGetAsync() { var dto = await _service.GetAsync(Id); ViewModel = ObjectMapper.Map <MiniProgramDto, CreateEditMiniProgramViewModel>(dto); }
public Task <MiniProgramDto> GetAsync(Guid id) { return(_service.GetAsync(id)); }
public virtual async Task OnGetAsync() { var dto = await _service.GetAsync(Id); ViewModel = ObjectMapper.Map <MiniProgramDto, CreateEditMiniProgramViewModel>(dto); }