public static HR_ShiftingWorkingDays GetHR_ShiftingWorkingDaysByShiftingWorkingDaysID(int ShiftingWorkingDaysID)
 {
     HR_ShiftingWorkingDays hR_ShiftingWorkingDays = new HR_ShiftingWorkingDays();
     SqlHR_ShiftingWorkingDaysProvider sqlHR_ShiftingWorkingDaysProvider = new SqlHR_ShiftingWorkingDaysProvider();
     hR_ShiftingWorkingDays = sqlHR_ShiftingWorkingDaysProvider.GetHR_ShiftingWorkingDaysByShiftingWorkingDaysID(ShiftingWorkingDaysID);
     return hR_ShiftingWorkingDays;
 }
 public static DataSet GetDropDownListAllHR_ShiftingWorkingDays()
 {
     DataSet hR_ShiftingWorkingDayss = new DataSet();
     SqlHR_ShiftingWorkingDaysProvider sqlHR_ShiftingWorkingDaysProvider = new SqlHR_ShiftingWorkingDaysProvider();
     hR_ShiftingWorkingDayss = sqlHR_ShiftingWorkingDaysProvider.GetDropDownListAllHR_ShiftingWorkingDays();
     return hR_ShiftingWorkingDayss;
 }
 public static void LoadHR_ShiftingWorkingDaysPage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlHR_ShiftingWorkingDaysProvider sqlHR_ShiftingWorkingDaysProvider = new SqlHR_ShiftingWorkingDaysProvider();
     DataSet ds =  sqlHR_ShiftingWorkingDaysProvider.GetHR_ShiftingWorkingDaysPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      hR_ShiftingWorkingDayssPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
 public static bool UpdateHR_ShiftingWorkingDays(HR_ShiftingWorkingDays hR_ShiftingWorkingDays)
 {
     SqlHR_ShiftingWorkingDaysProvider sqlHR_ShiftingWorkingDaysProvider = new SqlHR_ShiftingWorkingDaysProvider();
     return sqlHR_ShiftingWorkingDaysProvider.UpdateHR_ShiftingWorkingDays(hR_ShiftingWorkingDays);
 }
 public static int InsertHR_ShiftingWorkingDays(HR_ShiftingWorkingDays hR_ShiftingWorkingDays)
 {
     SqlHR_ShiftingWorkingDaysProvider sqlHR_ShiftingWorkingDaysProvider = new SqlHR_ShiftingWorkingDaysProvider();
     return sqlHR_ShiftingWorkingDaysProvider.InsertHR_ShiftingWorkingDays(hR_ShiftingWorkingDays);
 }
 public static bool DeleteHR_ShiftingWorkingDays(int hR_ShiftingWorkingDaysID)
 {
     SqlHR_ShiftingWorkingDaysProvider sqlHR_ShiftingWorkingDaysProvider = new SqlHR_ShiftingWorkingDaysProvider();
     return sqlHR_ShiftingWorkingDaysProvider.DeleteHR_ShiftingWorkingDays(hR_ShiftingWorkingDaysID);
 }