public async Task <IActionResult> AddCategories([FromBody] CategoryItems category) { _logger.LogInformation($"CategoryController ->"); var categories = await _services.AddCategories(category); if (categories == null) { _logger.LogInformation("Category Not Found"); return(NotFound()); } return(Ok(categories)); }