public async Task <IActionResult> Post(CreateCultureRequest request)
        {
            var cultureDto = _mapper.Map <CultureDto>(request);
            await _cultureService.CreateAsync(cultureDto);

            return(Ok());
        }
Esempio n. 2
0
 public Task<CultureDto> CreateAsync([FromBody] CultureDto createCulture)
 {
     return _cultureService.CreateAsync(createCulture);
 }