public bool IsValid(StudentUser other) { if (other.UserName == UserName && other.Password == Password) { return(true); } return(false); }
private void Init() { Months = new List <CustomEventMonth>(); User = new StudentUser("NO NAME", SchoolCourses.VisAlt, "second"); Rooms = new List <Room>(); var db = new CalendarEventContext(); eventUserStats = new List <EventUserStat>(db.EventUserStats); }