public IActionResult IsThemeNameUnique(string name) { var isThemeNameUnique = _themeRules.IsThemeNameUnique(name); return(Ok(isThemeNameUnique)); }
private bool HaveUniqueName(string name) { return(_themeRules.IsThemeNameUnique(name)); }