Пример #1
0
        public List <AppointmentModel> GetAllAppointmentsForUser()
        {
            string userId = RequestContext.Principal.Identity.GetUserId();

            AppointmentData data = new AppointmentData();

            return(data.GetAllAppointmentsForOneUser(userId));
        }