private void Attendance_Search_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         int ProjectID = int.Parse(txtPId.Text);
         dgProjectAttendance.DataContext = attendanceBLL.LoadGridPABLL(ProjectID, LoginEntity.UserID);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }