protected void SaveShift(object sender, EventArgs e)
    {
        ShiftsEmployee tempEmp = new ShiftsEmployee();

        try
        {
            string stringList  = Request.Cookies["ListShiftAfterEditing"].Value;
            int    numEffected = tempEmp.SaveShiftsAfterEditing(stringList);
            Response.Redirect("Shifts.aspx");
        }
        catch (Exception ex)
        {
            Response.Write("There was an error when trying to insert the shift into the database" + ex.Message);
        }
    }