Commit 36e83098428adc8787baa409bfb9f42d4489c1f1

Authored by unknown
1 parent f0d26939

Commit Changes

400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj
... ... @@ -56,7 +56,6 @@
56 56 <Content Include="app\main\Link.js" />
57 57 <Content Include="app\services\AuthenticationService.js" />
58 58 <Content Include="app\services\DataService.js" />
59   - <Content Include="app\services\LabExerciseService.js" />
60 59 <Content Include="app\services\ModuleService.js" />
61 60 <Content Include="app\services\TermService.js" />
62 61 <Content Include="app\utility\BitmapData.js" />
... ...
400-SOURCECODE/AIAHTML5.Web/app/services/LabExerciseService.js deleted
1   -AIA.factory('LabExerciseService', function ($http, $q, $rootScope) {
2   - return {
3   - saveLabExerciseAttempt: function (labExercieObj) {
4   - var deferred = $q.defer();
5   - $http.post('/API/api/LabExercise', JSON.stringify(labExercieObj), {
6   - headers: {
7   - 'Content-Type': 'application/json'
8   - }
9   - })
10   - //$http.post('/API/api/LabExercise', JSON.stringify(labExercieObj, userId, labExerciseIdentifier, LastQuestion, TotalQuestions), {
11   - // headers: {
12   - // 'Content-Type': 'application/json'
13   - // }
14   - //})
15   - .success(function (data, status, headers, config) {
16   - console.log('success')
17   - deferred.resolve(data);
18   - }).error(function (data, status, headers, config) {
19   - console.log('error')
20   - deferred.reject(data);
21   - $rootScope.isVisibleLogin = true;
22   - $rootScope.errorMessage = data;
23   - $("#messageModal").modal('show');
24   -
25   - });
26   - return deferred.promise;
27   - },
28   - }
29   -})
30 0 \ No newline at end of file