コード例 #1
0
 private IList <CategoryViewModel> ConvertCategory(string category)
 {
     return(category.Split(";").ToList().Select(c => new CategoryViewModel {
         Category = c,
         CategoryUrl = _dasBlogSettings.CompressTitle(c)
     })
            .ToList());
 }