public static long SaveWarningToDB(this string log, service service, eventID eventID) { return(DBLogs.SaveWarning(log, (service == service.Null ? (int?)null : (int)service), (eventID == eventID.Null ? (int?)null : (int)eventID))); }
public static long SaveWarningToDB(this string log) { return(DBLogs.SaveWarning(log)); }