public IHttpActionResult GetClassDescriptionsForProgram(int id)
        {
            if (!ValidCredentials())
                return BadRequest("Missing Credentials");
            var classService = new MindBodyClassesApiService(Credentials);

            return Ok();
        }
        public void GetClassesForToday()
        {
            MindBodyClassesApiService sut = new MindBodyClassesApiService(_credentials);
            var classes = sut.GetClasses();

            Assert.NotNull(classes);
            Assert.That(classes.Count, Is.GreaterThan(0));
        }
        public IHttpActionResult GetClassDescriptionsForStaff(long id, int? pageIndex = null, int? pageSize = 10)
        {
            if (!ValidCredentials())
                return BadRequest("Missing Credentials");
            var classService = new MindBodyClassesApiService(Credentials);

            var classDescriptions = classService.GetClassDescriptions(staffIds: new List<long> { id },
                                                                        pageIndex: pageIndex,
                                                                        pageSize: pageSize);
            if (classDescriptions == null)
                return NotFound();

            return Ok(classDescriptions);
        }
        public IHttpActionResult GetClassById(int id, int? pageIndex = null, int? pageSize = 10)
        {
            if (!ValidCredentials())
                return BadRequest("Missing Credentials");
            var classService = new MindBodyClassesApiService(Credentials);

            var classes = classService.GetClasses(classIds: new List<int> { id },
                                                    pageIndex: pageIndex,
                                                    pageSize: pageSize);
            if (classes == null)
                return NotFound();

            return Ok(classes);
        }