static public List <CheckLog> GetData(string from, string to) { CheckLogConnector sc = new CheckLogConnector(); string dbFromDateTime = SQLDBConnector.CovertDateToDB(SQLDBConnector.ConvertStringToDate(from)); string dbToDateTime = SQLDBConnector.CovertDateToDB(SQLDBConnector.ConvertStringToDate(to)); List <CheckLog> result = sc.SelectAllData(dbFromDateTime, dbToDateTime); return(result); }
static public void TransactionItem(string studentNo, string itemBarcode, string itemDescription, string initial, bool status, string expirDate) { CheckLogConnector sc = new CheckLogConnector(); sc.MakeLog(studentNo, itemBarcode, itemDescription, initial, status, expirDate); }