From 36e83098428adc8787baa409bfb9f42d4489c1f1 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 23 Feb 2018 15:07:56 +0530 Subject: [PATCH] Commit Changes --- 400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj | 1 - 400-SOURCECODE/AIAHTML5.Web/app/services/LabExerciseService.js | 29 ----------------------------- 2 files changed, 0 insertions(+), 30 deletions(-) delete mode 100644 400-SOURCECODE/AIAHTML5.Web/app/services/LabExerciseService.js diff --git a/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj b/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj index 6693340..aa084bd 100644 --- a/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj +++ b/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj @@ -56,7 +56,6 @@ - diff --git a/400-SOURCECODE/AIAHTML5.Web/app/services/LabExerciseService.js b/400-SOURCECODE/AIAHTML5.Web/app/services/LabExerciseService.js deleted file mode 100644 index f4ffcbe..0000000 --- a/400-SOURCECODE/AIAHTML5.Web/app/services/LabExerciseService.js +++ /dev/null @@ -1,29 +0,0 @@ -AIA.factory('LabExerciseService', function ($http, $q, $rootScope) { - return { - saveLabExerciseAttempt: function (labExercieObj) { - var deferred = $q.defer(); - $http.post('/API/api/LabExercise', JSON.stringify(labExercieObj), { - headers: { - 'Content-Type': 'application/json' - } - }) - //$http.post('/API/api/LabExercise', JSON.stringify(labExercieObj, userId, labExerciseIdentifier, LastQuestion, TotalQuestions), { - // headers: { - // 'Content-Type': 'application/json' - // } - //}) - .success(function (data, status, headers, config) { - console.log('success') - deferred.resolve(data); - }).error(function (data, status, headers, config) { - console.log('error') - deferred.reject(data); - $rootScope.isVisibleLogin = true; - $rootScope.errorMessage = data; - $("#messageModal").modal('show'); - - }); - return deferred.promise; - }, - } -}) \ No newline at end of file -- libgit2 0.21.4