public DataTable GetConversion(string userEmailId, Guid ticketId) { DataTable dt = null; DAL.TicketConversation ticCon = new InfoWebTicketSystem.DAL.TicketConversation(); dt = ticCon.GetConversion(userEmailId, ticketId); return(dt); }
public DataTable GetConversion(Guid ticketId) { DataTable dt = null; using (var connection = ConnectionFactory.GetConnection()) { DAL.TicketConversation ticCon = new InfoWebTicketSystem.DAL.TicketConversation(connection); dt = ticCon.GetConversion(ticketId); } return(dt); }
private void __InsertConversation(Guid ticketId, string message, string attachment, Guid userId, bool staff, IConnection connection) { DAL.TicketConversation ticCon = new InfoWebTicketSystem.DAL.TicketConversation(connection); ticCon.InsertConversation(ticketId, message, attachment, userId, staff); }
private void __InsertConversation(Guid ticketId, string message, string attachment, Guid userId, bool staff, string userEmailId) { DAL.TicketConversation ticCon = new InfoWebTicketSystem.DAL.TicketConversation(); ticCon.InsertConversation(ticketId, message, attachment, userId, staff, userEmailId); }