Exemplo n.º 1
0
        public IActionResult IsThemeNameUnique(string name)
        {
            var isThemeNameUnique = _themeRules.IsThemeNameUnique(name);

            return(Ok(isThemeNameUnique));
        }
Exemplo n.º 2
0
 private bool HaveUniqueName(string name)
 {
     return(_themeRules.IsThemeNameUnique(name));
 }