private void Discard_Changes(object sender, EventArgs e)
 {
     _objAddWorkoutScheduleRequest  = new AddWorkoutScheduleRequest();
     _objAddWorkoutScheduleResponse = new AddWorkoutScheduleResponse();
     _apiService        = new RestApi();
     _objHeaderModel    = new HeaderModel();
     _baseUrl           = Settings.Url + Domain.AddWorkoutScheduleApiConstant;
     _objRecereenceList = new RecereenceList();
     dropdownReccerenceType.ItemsSource = _objRecereenceList.RecerrenceSource;
     BindingContext                          = _objAddWorkoutScheduleRequest;
     XFEntryTxtFriend.Text                   = "";
     XFEntryTxtMe.Text                       = "";
     XfTPStartTime.Time                      = TimeSpan.Parse("00:00");
     XFBtnMonday.BackgroundColor             = Color.FromHex("#64BAEB");
     IsMondaySelected                        = false;
     _objAddWorkoutScheduleRequest.Monday    = false;
     XFBtnTuesday.BackgroundColor            = Color.FromHex("#64BAEB");
     IsTuesdaySelected                       = false;
     _objAddWorkoutScheduleRequest.Tuesday   = false;
     XFBtnWednesday.BackgroundColor          = Color.FromHex("#64BAEB");
     IsWednesdaySelected                     = false;
     _objAddWorkoutScheduleRequest.Wednesday = false;
     XFBtnThursaday.BackgroundColor          = Color.FromHex("#64BAEB");
     IsThursdaySelected                      = false;
     _objAddWorkoutScheduleRequest.Thursday  = false;
     XFBtnFriday.BackgroundColor             = Color.FromHex("#64BAEB");
     IsFridaySelected                        = false;
     _objAddWorkoutScheduleRequest.Friday    = false;
     XFBtnSaturday.BackgroundColor           = Color.FromHex("#64BAEB");
     IsSaturdaySelected                      = false;
     _objAddWorkoutScheduleRequest.Saturday  = false;
     XFBtnSunday.BackgroundColor             = Color.FromHex("#64BAEB");
     IsSundaySelected                        = false;
     _objAddWorkoutScheduleRequest.Sunday    = false;
 }
 public AddNewSchedulePage()
 {
     InitializeComponent();
     _objAddWorkoutScheduleRequest  = new AddWorkoutScheduleRequest();
     _objAddWorkoutScheduleResponse = new AddWorkoutScheduleResponse();
     _apiService        = new RestApi();
     _objHeaderModel    = new HeaderModel();
     _baseUrl           = Settings.Url + Domain.AddWorkoutScheduleApiConstant;
     _objRecereenceList = new RecereenceList();
     dropdownReccerenceType.ItemsSource = _objRecereenceList.RecerrenceSource;
     BindingContext = _objAddWorkoutScheduleRequest;
 }