Пример #1
0
        public async Task <LineDto> AddLineEntity(LineDto line, SelectedNumbersDto selectedNumbers)
        {
            Task <LineDto> lineDto;

            lock (obj)
            {
                lineDto = lineManager.AddLine(line, selectedNumbers);
            }
            return(await lineDto);
        }