public PointOfInterest Get(Guid id)
 {
     return(_repository.GetById(id));
 }
 public async Task <PointOfInterestEntity> GetByIdAsync(Guid id)
 {
     return(await _repository.GetById(id).ConfigureAwait(false));
 }
Exemple #3
0
 public PointOfInterest GetPointOfInterestById(long id)
 {
     return(_pointOfInterestRepository.GetById(id));
 }