public List <Location> GetByName(string name)
 {
     return(LocationRepo.GetLocationsByName(name));
 }