コード例 #1
0
        public ResponseObject <bool> AddSkill(SkillAPIViewModel model)
        {
            var iTSupporterService = this.Service <IITSupporterService>();

            var result = iTSupporterService.AddSkill(model);

            return(result);
        }
コード例 #2
0
        public ActionResult AddSkill(SkillAPIViewModel model)
        {
            var result = _ITSupporterDomain.AddSkill(model);

            return(Json(new { result }, JsonRequestBehavior.AllowGet));
        }