public void FileInitializer() { _IFileRepository = new FileRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <LMGEDI.Core.Data.SqlServer.LMGEDIDBContext>()); _ICRepository = new ICRecordDetailRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <LMGEDI.Core.Data.SqlServer.LMGEDIDBContext>()); _IFileImplBL = new FileImpl(_IFileRepository, _ICRepository); }
public FileImpl(IFileRepository fileRepository, IICRecordDetailRepository ICRepository) { _fileRepository = fileRepository; _ICRepository = ICRepository; }