private static Doctor DoCreate(Doctor doctor)
 {
     return null;
 }
        private static Doctor DoCreateNew()
        {
            var doctor = new Doctor
            {
                Id = _idCounter++,
                Name = "Doctor_" + _idCounter,
                ImageUrl = @"http://localhost/DoctorsApp.Backend.WebAPI/images/doctors/innayah.png",
                CreatedAt = DateTime.Now,
                City = new City
                {
                    Id = _idCounter++,
                    Name = "WahCantt",
                    Country = "Pakistan"
                },
                AreaOfExpertise = new List<Expertise>
                {
                    new Expertise
                    {
                        Id = _idCounter++,
                        Name = "Orthopadic",
                        SubAreas = null
                    },
                    new Expertise
                    {
                        Id = _idCounter++,
                        Name = "Heart SPecialist",
                        SubAreas = null
                    },
                    new Expertise
                    {
                        Id = _idCounter++,
                        Name = "Surgical",
                        SubAreas = null
                    }
                },
                Schedule = new List<Schedule>
                {
                    new Schedule
                    {
                        Id = _idCounter++,
                        Clinic = new Clinic
                        {
                            Name = "Doctor's Hospital",
                            Address = "Main boulevard, Aslam Market, The Mall, WahCantt, Dist Rawalpindi.",
                            City = new City
                            {
                                Id = _idCounter++,
                                Name = "WahCantt",
                                Country = "Pakistan"
                            },
                            Lat = 33.758224,
                            Lng = 72.768717
                        },
                        TimeSlots = new List<TimeSlot>
                        {
                            new TimeSlot
                            {
                                DayOfWeek = DayOfWeek.Monday,
                                Durations = new List<CustomDuration>
                                {
                                    new CustomDuration(
                                        DateTime.Parse("11:30AM", null),
                                        DateTime.Parse("2:30PM", null)),
                                    new CustomDuration(
                                        DateTime.Parse("16:30", null),
                                        DateTime.Parse("19:30", null)),
                                }
                            }
                        }

                    }
                }
            };
            _doctors.Add(doctor.Id, doctor);
            return doctor;
        }
 public static async Task<Doctor> Create(Doctor doctor)
 {
     //return await Task.Run(() => DoCreate(doctor));
     return await Task.Run(() => DoCreateNew());
 }