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