示例#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);
 }