public DataTable populateServerGrid(string shift) { sqc = new sqlController(); try { var date = GetDate(); return(sqc.GetServerData(shift, GetDate())); } catch (Exception ex) { Logger.Log(ex); return(null); } finally { sqc = null; } }