public ActionResult Index() { return(View(_userDataRepository.GetAll())); }
public ActionResult Create() { ViewBag.followeeuserId = new SelectList(_userDataRepository.GetAll(), "userId", "userName"); ViewBag.followerUserId = new SelectList(_userDataRepository.GetAll(), "userId", "userName"); return(View()); }
public IActionResult GetUser() { IEnumerable <User> users = _dataRepository.GetAll(); return(Ok(users)); }
public ActionResult TweetFeed() { return(View(_userDataRepository.GetAll().OrderBy(x => x.userName))); }
private List <UserDataViewModel> GetDefaultTDos() { var userEntity = _userDataRepository.GetAll().ToList(); return(_mapper.Map <List <UserData>, List <UserDataViewModel> >(userEntity)); }