/** * Created by wisestone on 2018-01-08. */ 'use strict'; define(['app'], function (app) { app.factory("IssueVersion", ['$http', '$log', function ($http, $log) { return { find : function (conditions) { return $http.post("issueVersion/find", conditions).then(function (response) { $log.debug("이슈 버전 목록 결과 : ", response); return response; }); }, add : function (conditions) { return $http.post("issueVersion/add", conditions).then(function (response) { $log.debug("이슈 버전 생성 결과 : ", response); return response; }); } } } ]) });