public async Task <LineDto> AddLineEntity(LineDto line, SelectedNumbersDto selectedNumbers) { Task <LineDto> lineDto; lock (obj) { lineDto = lineManager.AddLine(line, selectedNumbers); } return(await lineDto); }
public async Task <LineDto> AddLineEntity(LineDto line, SelectedNumbersDto selectedNumbers) { Task <LineDto> lineDto; lock (obj) { lineDto = lineManager.AddLine(line, selectedNumbers); } return(await lineDto); }