public async Task<IHttpActionResult> PutPetSitterHoliday(int id, PetSitterHoliday petSitterHoliday)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != petSitterHoliday.PetSitterHolidayNo)
            {
                return BadRequest();
            }

            db.Entry(petSitterHoliday).State = EntityState.Modified;

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!PetSitterHolidayExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostPetSitterHoliday(PetSitterHoliday petSitterHoliday)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.PetSitterHolidays.Add(petSitterHoliday);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = petSitterHoliday.PetSitterHolidayNo }, petSitterHoliday);
        }
        private async Task<List<PetSitterHoliday>> AddPetSitterHoliday(PetSitter petSitter, string holiday)
        {
            List<PetSitterHoliday> petSitterHolidays = new List<PetSitterHoliday>();

            var arr = HttpUtility.UrlDecode(holiday.ToString()).Split(',');

            for (int i = 0; i < arr.Length; i++)
            {
                PetSitterHoliday petSitterHoliday = new PetSitterHoliday();
                petSitterHoliday.PetSitterNo = petSitter.PetSitterNo;
                petSitterHoliday.PetSitterHolidayCode = int.Parse(arr[i].ToString());
                petSitterHolidays.Add(petSitterHoliday);
            }

            db.PetSitterHolidays.AddRange(petSitterHolidays);
            await db.SaveChangesAsync();

            return petSitterHolidays;
        }