Beispiel #1
0
        async public override Task AuthenticateAsync(string email, string password)
        {
            // Always authenticate successfully, but make them wait
            await Task.Delay(DELAY_TIME);

            // Some very sketchy student who goes to two schools.
            Model.Org org1 = new Model.Org(1, "Locust Valley High School");
            Model.Org org2 = new Model.Org(2, "Oyster Bay High School");

            CurUser = new Model.User(1, "Fake", "Name", email, new List <Model.Org> {
                org1, org2
            }, new List <Model.Org>());
        }
Beispiel #2
0
 public OrgHome(Model.Org org)
 {
     InitializeComponent();
     Org = org;
 }