示例#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));
 }