private bool CheckForUniqueness(string newValue, InputType type) { switch (type) { case InputType.Name: { if (FeatModel.DoesNameExist(newValue) == true) { return(false); } break; } } return(true); }
private bool CheckForUniqueness(string newValue, InputType type) { switch (type) { case InputType.Name: { if (FeatModel.DoesNameExist(newValue) == true) { return(false); } break; } } return(true); }