public JugdeRepository(IJudgeAddDoer judgeAddDoer, IJudgeUpdateDoer judgeUpdateDoer, IJudgeDeleteDoer judgeDeleteDoer, IJudgeGetAllDoer judgeGetAllDoer, IJudgeGetByIdDoer judgeGetByIdDoer) { _judgeAddDoer = judgeAddDoer; _judgeUpdateDoer = judgeUpdateDoer; _judgeDeleteDoer = judgeDeleteDoer; _judgeGetAllDoer = judgeGetAllDoer; _judgeGetByIdDoer = judgeGetByIdDoer; }
public ZEsJugdeRepository(IJudgeAddDoer judgeAddDoer, IJudgeUpdateDoer judgeUpdateDoer, IJudgeDeleteDoer judgeDeleteDoer, IJudgeGetAllDoer judgeGetAllDoer, IJudgeGetByIdDoer judgeGetByIdDoer, IZEsGeekLemonDBContext zEsGeekLemonDBContext) : base(judgeAddDoer, judgeUpdateDoer, judgeDeleteDoer, judgeGetAllDoer, judgeGetByIdDoer) { GeekLemonDBContext context = new GeekLemonDBContext(zEsGeekLemonDBContext.ConnectionString); this.ChangeContext(context); }