コード例 #1
0
 public UserLogIn MatchUser(string UserId, string Password)
 {
     return(_userLogInRepository.GetAll().Where(u => u.UserId == UserId && u.Password == Password).FirstOrDefault());
 }
コード例 #2
0
 public IEnumerable <Place> GetAllPlaces()
 {
     return(_placeRepository.GetAll());
 }
コード例 #3
0
 public IEnumerable <Country> GetAllCountries()
 {
     return(_countryRepository.GetAll());
 }