Example #1
0
 public static CallRecordRepository GetCallRecordRepository(IUnitOfWork unitOfWork)
 {
     var repository = new CallRecordRepository();
     repository.UnitOfWork = unitOfWork;
     return repository;
 }
Example #2
0
 public static CallRecordRepository GetCallRecordRepository()
 {
     var repository = new CallRecordRepository();
     repository.UnitOfWork = GetUnitOfWork();
     return repository;
 }