public PlanService(PlanDataStore planDataStore, IMapper mapper, PlanDataContext planRepository) { _planDataStore = planDataStore; _mapper = mapper; _planRepository = planRepository; }
//构造方法 public PlanDataAccess() { this.planDataContext = new PlanDataContext(); }