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