Beispiel #1
0
        public virtual async Task <IActionResult> OnPostAsync()
        {
            var dto = ObjectMapper.Map <CreateEditGrantedStoreViewModel, CreateUpdateGrantedStoreDto>(ViewModel);
            await _service.CreateAsync(dto);

            return(NoContent());
        }
 public virtual Task <GrantedStoreDto> CreateAsync(CreateUpdateGrantedStoreDto input)
 {
     return(_service.CreateAsync(input));
 }