public static List <AuditLogEntry> GetEntries(DateTime beginDate, DateTime endDate, string changedBy) { using (AuditLogDal dal = GetDalInstance()) { List <AuditLogItem> dalItems = dal.GetItems(beginDate, endDate, changedBy); return(ConvertDalItemsToObjects(dalItems)); } }
public static List <KeyValuePair <long, string> > GetContractsInRange(DateTime beginDate, DateTime endDate) { #if !ORACLE return(null); #endif using (AuditLogDal dal = GetDalInstance()) { List <KeyValuePair <long, string> > items = dal.GetContractsInRange(beginDate, endDate); return(items); } }