Пример #1
0
        public virtual async Task <IActionResult> OnPostAsync()
        {
            await _service.CreateAsync(
                ObjectMapper.Map <CreateEditResourceUserViewModel, CreateUpdateResourceUserDto>(ResourceUser));

            return(NoContent());
        }
Пример #2
0
 public Task <ResourceUserDto> CreateAsync(CreateUpdateResourceUserDto input)
 {
     return(_service.CreateAsync(input));
 }