public async Task <IActionResult> OnPostAsync() { await _service.UpdateAsync(Id, ObjectMapper.Map <CreateUpdateUniappViewModel, CreateUpdateUniappDto>(Uniapp)); return(NoContent()); }
public Task <UniappDto> UpdateAsync(Guid id, CreateUpdateUniappDto input) { return(_service.UpdateAsync(id, input)); }