Beispiel #1
0
        public static Int32 UpdateIncident(Int32 incidentId, Int32 contactId, Int32 agentId, Int32 statusId, string subject)
        {
            //if ((statusId == 3) || (statusId == 4))  //3:Canceled; 4:Closed;
            //    DalIncidentState.DeleteIncidentState(incidentId);

            return(DalIncident.UpdateIncident(incidentId, contactId, agentId, statusId, subject));
        }
Beispiel #2
0
 public static Int32 DeleteIncident(Int32 incidentId)
 {
     return(DalIncident.DeleteIncident(incidentId));
 }
Beispiel #3
0
        //-----------------------------------------------------------------------------

        public static Int32 InsertIncident(Int32 groupId, Int32 skillId, Int32 langId, Int32 facilityId, Int32 contactId, Int32 agentId)
        {
            return(DalIncident.InsertIncident(groupId, skillId, langId, facilityId, contactId, agentId));
        }
Beispiel #4
0
 public static IncidentDS.IncidentDSDataTable GetIncidentByGuid(Guid incidentGuid)
 {
     IncidentDS.IncidentDSDataTable dt = DalIncident.GetIncidentByGuid(incidentGuid);
     return(processData(dt));
 }
Beispiel #5
0
        //-----------------------------------------------------------------------------

        public static IncidentDS.IncidentDSDataTable SelectIncident(Int32 incidentId)
        {
            IncidentDS.IncidentDSDataTable dt = DalIncident.SelectIncident(incidentId);
            return(processData(dt));
        }
Beispiel #6
0
 public static IncidentDS.IncidentDSDataTable OpenFollowUpIncident(Int32 incidentId, Int32 agentId)
 {
     IncidentDS.IncidentDSDataTable dt = DalIncident.OpenFollowUpIncident(incidentId, agentId);
     return(processData(dt));
 }
Beispiel #7
0
 public static IncidentDS.IncidentDSDataTable GetIncidentFollowUpList(Int32 statusId, Int32 agentId)
 {
     IncidentDS.IncidentDSDataTable dt = DalIncident.GetIncidentFollowUpList(statusId, agentId);
     return(processData(dt));
 }
Beispiel #8
0
 public static IncidentDS.IncidentDSDataTable GetIncidentsByContact(Int32 statusId, Int32 contactId)
 {
     IncidentDS.IncidentDSDataTable dt = DalIncident.GetIncidentsByContact(statusId, contactId);
     return(processData(dt));
 }