private bool DoesVariableAlreadyExistInDb() { Variable testVar = new Variable { Name = assignment.AssignmentVariable, Value = 0 }; if (variableRepo.FindVariableByName(testVar.Name) != null) { return(true); } else { return(false); } }
private bool DoesVariableAlreadyExistInDb() { Variable testVar = new Variable { Name = assignment.AssignmentVariable, Value = 0 }; if (variableRepo.FindVariableByName(testVar.Name) != null) { return(true); } else { return(false); } }