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