자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private IEnumerable <SelectListItem> GetCategories() { string userId = FindUserID(); ItemRepo itemRepo = new ItemRepo(); var categories = itemRepo.GetCategories(userId); return(new SelectList(categories, "Value", "Text")); }