public static bool Delete(Log MyLog) { if (MyLog != null) { return(LogDB.Delete(MyLog.id)); } else { return(false); } }
public static bool Delete(int id) { return(LogDB.Delete(id)); }