public void DeleteTaskLog(int logId) { var log = taskLogRepository.FindByID(logId); taskLogRepository.Remove(log); taskLogRepository.Save(); }