public IActionResult GetFavoriteLabelsWithBooksAndCategories([FromQuery] BookTypeEnumContract?bookType, [FromQuery] ProjectTypeContract?projectType) { if (bookType == null) { return(BadRequest("Missing required parameter BookType")); } var result = m_favoriteManager.GetFavoriteLabelsWithBooksAndCategories(bookType.Value, projectType); return(Ok(result)); }
public IList <FavoriteLabelWithBooksAndCategories> GetFavoriteLabelsWithBooksAndCategories(BookTypeEnumContract bookType) { return(m_favoriteManager.GetFavoriteLabelsWithBooksAndCategories(bookType)); }