Commit ae8613d6 authored by Rajeshekar's avatar Rajeshekar

Refactored logic

parent 963f6644
......@@ -9,8 +9,8 @@ myApp.controller("loginController",function($scope, myFactory, $compile, $window
getUserRole(profile);
getAllUserRoles();
//getAllShifts();
getAllDesignations();
getAllTechnologies();
//getAllDesignations();
// getAllTechnologies();
getAllLocations();
getAllAccounts();
getMasterData();
......@@ -99,7 +99,9 @@ myApp.controller("loginController",function($scope, myFactory, $compile, $window
myFactory.setEmployeeStatus(response.data['EmployeeStatus']);
myFactory.setRoles(response.data['roles']);
myFactory.setShifts(response.data['shifts']);
myFactory.setDomains(response.data['domains']);
myFactory.setDomains(response.data['domains']);
myFactory.setTechnologies(response.data['skills']);
myFactory.setDesignations(response.data['designations']);
}, function myError(response) {
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment