public IEnumerable <ChatMessage> GetPassengerWithMessages(string contactEmail) { Passenger passenger = _passengerRepository.GetPassengerByEmailWithChatMessages(User.Identity.Name); return(passenger.GetChatsWithContact(contactEmail)); }
public IEnumerable <ChatMessage> GetPassengerWithMessages(string contactEmail) { Passenger passenger = _passengerRepository.GetPassengerByEmailWithChatMessages(User.Identity.Name); return(passenger.GetChatsWithContact(contactEmail)); }