public void OnGet(int id) { EditArticle = _articleApplication.GetById(id); selectListItems = _articleCategoryApplication.List() .Select(c => new SelectListItem(c.Title, c.Id.ToString())).ToList(); }
public void OnGet(int id) { EditArticle = _articleApplication.GetById(id); selectListItems = _articleCategoryApplication.List() .Select(c => new SelectListItem(c.Title, c.Id.ToString())).ToList(); }