コード例 #1
0
ファイル: ApplicationController.cs プロジェクト: thohng/kudu
        public async Task <ActionResult> AddServiceSiteBinding(string slug, string siteBinding)
        {
            IApplication application = _applicationService.GetApplication(slug);

            if (application == null)
            {
                return(HttpNotFound());
            }

            _applicationService.AddServiceSiteBinding(slug, siteBinding);

            return(await GetApplicationView("settings", "Details", slug));
        }