Пример #1
0
        public async Task <IActionResult> OnPostAsync()
        {
            await _service.UpdateAsync(Id, ObjectMapper.Map <CreateEditStoreViewModel, CreateUpdateStoreDto>(Store));

            return(NoContent());
        }
Пример #2
0
 public Task <StoreDto> UpdateAsync(Guid id, CreateUpdateStoreDto input)
 {
     return(_service.UpdateAsync(id, input));
 }