public void TestSaveData()
 {
     //Act
     dealsDataRepository.SaveDealsData(deals);
     //Assert
     _delerDataContext.Verify(_ => _.SaveData(deals), Times.Once);
 }
        public void SaveDealsData(IList <IDeal> dealsData)
        {
            var dataModel = dealsData.Select(_ => _.ToDataModel()).ToList();

            _dealsDataRepository.SaveDealsData(dataModel);
        }