public Task <UniappDto> CreateAsync(CreateUpdateUniappDto input)
 {
     return(_service.CreateAsync(input));
 }
示例#2
0
        public async Task <IActionResult> OnPostAsync()
        {
            await _service.CreateAsync(ObjectMapper.Map <CreateUpdateUniappViewModel, CreateUpdateUniappDto>(Uniapp));

            return(NoContent());
        }