private List <History> GetHistoryByLocation(int locationId) { return(DBHandler.GetHistory().Where(x => x.LocationId.Equals(locationId)).ToList()); }