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)); }
public static Int32 DeleteIncident(Int32 incidentId) { return(DalIncident.DeleteIncident(incidentId)); }
//----------------------------------------------------------------------------- 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)); }
public static IncidentDS.IncidentDSDataTable GetIncidentByGuid(Guid incidentGuid) { IncidentDS.IncidentDSDataTable dt = DalIncident.GetIncidentByGuid(incidentGuid); return(processData(dt)); }
//----------------------------------------------------------------------------- public static IncidentDS.IncidentDSDataTable SelectIncident(Int32 incidentId) { IncidentDS.IncidentDSDataTable dt = DalIncident.SelectIncident(incidentId); return(processData(dt)); }
public static IncidentDS.IncidentDSDataTable OpenFollowUpIncident(Int32 incidentId, Int32 agentId) { IncidentDS.IncidentDSDataTable dt = DalIncident.OpenFollowUpIncident(incidentId, agentId); return(processData(dt)); }
public static IncidentDS.IncidentDSDataTable GetIncidentFollowUpList(Int32 statusId, Int32 agentId) { IncidentDS.IncidentDSDataTable dt = DalIncident.GetIncidentFollowUpList(statusId, agentId); return(processData(dt)); }
public static IncidentDS.IncidentDSDataTable GetIncidentsByContact(Int32 statusId, Int32 contactId) { IncidentDS.IncidentDSDataTable dt = DalIncident.GetIncidentsByContact(statusId, contactId); return(processData(dt)); }