public RelevantController(IGameMember gameMember, IInformMessage informMessage, IQuestionary questionary, IArticle article, IFeedBack feedBack) { EFInformMessage = informMessage; EFQuestionary = questionary; EFArticle = article; EFFeedBack = feedBack; EFGameMember = gameMember; }
public PersonRelevantController(HttpContext httpContext, IPerson person, IFeedBack feedBack, IQuestionary questionary) { if (httpContext.Session["UserID"] != null) { UserID = Convert.ToInt32(httpContext.Session["UserID"].ToString()); GameID = Convert.ToInt32(httpContext.Session["UserID"].ToString()); UserName = httpContext.Session["UserName"].ToString(); } EFPerson = person; EFFeedBack = feedBack; EFQuestionary = questionary; }