public Domain.Location GetLocationByCity(string city)
        {
            var element = _db.Location.Where(i => i.City.Contains(city)).FirstOrDefault();

            if (element != null)
            {
                return(LocationMapper.Map(element));
            }
            else
            {
                return(null);
            }
        }
 public IEnumerable <Domain.Location> GetLocations()
 {
     return(_db.Location.Select(x => LocationMapper.Map(x)));
 }