public IList<CS_SP_CheckCallCriteria_Result> CheckCallCriteria(int CallLogID, int callLogTypeId, int jobId) { using (var db = new CustomerServiceModelContainer()) { return db.CS_SP_CheckCallCriteria(CallLogID, callLogTypeId, jobId).ToList(); } }