/** * Created by wisestone on 2018-10-17. */ 'use strict'; define(['app'], function (app) { app.factory("IssueRelation", ['$http', '$log', function ($http, $log) { return { add : function (conditions) { return $http.post("issueRelation/add", conditions).then(function (response) { $log.debug("연관 이슈 입력 : ", response); return response; }); }, delete : function (conditions) { return $http.post("issueRelation/remove", conditions).then(function (response) { $log.debug("연관 이슈 삭제 : ", response); return response; }); }, find : function (conditions) { return $http.post("issueRelation/find", conditions).then(function (response) { $log.debug("연관 이슈 조회 : ", response); return response; }); } } } ]) });