bridged the BLL and DAL together
This commit is contained in:
parent
6691d26b9d
commit
498f5d339a
14
BLL/DataAccess.cs
Normal file
14
BLL/DataAccess.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
public class DataAccess
|
||||||
|
{
|
||||||
|
private IDataService _dataService;
|
||||||
|
|
||||||
|
public DataAccess(IDataService dataService)
|
||||||
|
{
|
||||||
|
_dataService = dataService;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void WriteData(SortedList<string, int> dictResults)
|
||||||
|
{
|
||||||
|
_dataService.WriteAll(dictResults);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user