Beispiel #1
0
        private void SaveNewAppiontment(AppointmentStoreNew app)
        {
            Account account = new Account();

            account.Properties.Add("AppoitmentTime", app.AppoitmentTime);
            account.Properties.Add("AppoitmentDate", app.AppoitmentDate);
            AccountStore.Create(Forms.Context).Save(account, "NewAppiontment");
        }
Beispiel #2
0
        public AppointmentStoreNew GetNewAppointment()
        {
            var app = new AppointmentStoreNew();

            app = new AppointmentStoreNew()
            {
                AppoitmentDate = AppoitmentDate,
                AppoitmentTime = AppoitmentTime
            };
            return(app);
        }