public async Task <IActionResult> AddLabeledItem([FromBody] ProcessInfoLabeledItemDto trainingItem) { var entity = Mapper.Map <ProcessInfoLabeledItem>(trainingItem); await _labeledItemRepository.Add(entity); return(Ok()); }
private void AfterMap(ProcessInfoLabeledItemDto arg1, ProcessInfoLabeledItem arg2) { arg2.GenerateId(new Murmur3Hash()); }