public virtual async Task <IActionResult> OnPostAsync() { var dto = ObjectMapper.Map <EditBasketItemViewModel, UpdateBasketItemDto>(ViewModel); await _service.UpdateAsync(Id, dto); return(NoContent()); }
public Task <BasketItemDto> UpdateAsync(Guid id, UpdateBasketItemDto input) { return(_service.UpdateAsync(id, input)); }