public static MainPictureRepository GetMainPictureRepository(IUnitOfWork unitOfWork) { var repository = new MainPictureRepository(); repository.UnitOfWork = unitOfWork; return(repository); }
public static MainPictureRepository GetMainPictureRepository() { var repository = new MainPictureRepository(); repository.UnitOfWork = GetUnitOfWork(); return(repository); }
public static MainPictureRepository GetMainPictureRepository(IUnitOfWork unitOfWork) { var repository = new MainPictureRepository(); repository.UnitOfWork = unitOfWork; return repository; }
public static MainPictureRepository GetMainPictureRepository() { var repository = new MainPictureRepository(); repository.UnitOfWork = GetUnitOfWork(); return repository; }