RootServices.services.js 493 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
'use strict'

angular.module('myHR').factory('RootServices', function($resource){
  return {
    RestMapplicant: $resource('/hr/api/recruit/RestMapplicant', {
    }, {
      updateRouter: {
        url: '/hr/api/recruit/RestMapplicant/updateRouter',
        method: 'PUT'
      }
    }),
    JbTapplicantController: $resource(`${urljobboard}/tapplicant`, {
    }, {
      updateApplicant: {
        url: `${urljobboard}/tapplicant/updateApplicant`,
        method: 'PUT'
      }
    })
  }
})