Пример #1
0
        public DataTable GetConversion(string userEmailId, Guid ticketId)
        {
            DataTable dt = null;

            DAL.TicketConversation ticCon = new InfoWebTicketSystem.DAL.TicketConversation();
            dt = ticCon.GetConversion(userEmailId, ticketId);
            return(dt);
        }
Пример #2
0
        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);
        }
Пример #3
0
 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);
 }
Пример #4
0
 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);
 }