public async Task <IActionResult> OnPostAsync() { await _service.UpdateAsync(Id, ObjectMapper.Map <CreateEditStoreViewModel, CreateUpdateStoreDto>(Store)); return(NoContent()); }
public Task <StoreDto> UpdateAsync(Guid id, CreateUpdateStoreDto input) { return(_service.UpdateAsync(id, input)); }