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