Beispiel #1
0
 public ActionResult <IEnumerable <User> > GetUserList()
 {
     return(new JsonResult(_signupRepo.GetSignedUpUsers()));
 }
Beispiel #2
0
 public bool UserHasSignedup(int userId)
 {
     return(_signupRepository.GetSignedUpUsers().FirstOrDefault(x => x.UserId == userId) != null);
 }