public static MemeberRepository GetMemeberRepository(IUnitOfWork unitOfWork) { var repository = new MemeberRepository(); repository.UnitOfWork = unitOfWork; return(repository); }
public static MemeberRepository GetMemeberRepository() { var repository = new MemeberRepository(); repository.UnitOfWork = GetUnitOfWork(); return(repository); }
public MemberService(IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _MemberRep = new MemeberRepository(unitOfWork); _ZipCodeRep = new ZipCodeRepository(unitOfWork); ReturnModel = new PublicMethodResult(); }