private void bntGetDetails_Click(object sender, EventArgs e) { nonWorkingDayBindingSource.DataSource = NonWorkingDayController.GetNonWorkingDays(); }
/// <summary> /// Gets all non working days. /// </summary> /// <returns></returns> internal List <NonWorkingDay> GetAllNonWorkingDays() { return(NonWorkingDayController.GetNonWorkingDays(DateTime.Parse("1/1/1900"), DateTime.Today, -1, -1, "NonWorkingDate", 1, 20)); }