public List <ChatHistory> GetChatHistory(int SentFrom, int SentTo) { List <ChatHistory> listChat = new List <ChatHistory>(); try { MasterBL bl = new MasterBL(); listChat = bl.GetChatHistory(SentFrom, SentTo); } catch (Exception) { throw; } return(listChat); }