public async Task <FixAssetDto> CreateFixAssetAsync(CreateFixAssetInput input)
        {
            var entity = ObjectMapper.Map <FixAsset>(input);

            entity = await _menuRepository.InsertAsync(entity);

            return(ObjectMapper.Map <FixAssetDto>(entity));
        }
Beispiel #2
0
 public async Task <FixAssetDto> CreateFixAsset([FromBody] CreateFixAssetInput input)
 {
     return(await _FixAssetAppService.CreateFixAssetAsync(input));
 }