Ejemplo n.º 1
0
        public IActionResult LocationCategoryInUse(string Title)
        {
            LocationCategory category = locationRepository.GetCategoryByTitle(Title);

            return(category == null?Json(true) : Json($"The category { Title } is already registered"));
        }