예제 #1
0
        public async Task <IActionResult> AddLabeledItem([FromBody] ProcessInfoLabeledItemDto trainingItem)
        {
            var entity = Mapper.Map <ProcessInfoLabeledItem>(trainingItem);

            await _labeledItemRepository.Add(entity);

            return(Ok());
        }
예제 #2
0
 private void AfterMap(ProcessInfoLabeledItemDto arg1, ProcessInfoLabeledItem arg2)
 {
     arg2.GenerateId(new Murmur3Hash());
 }