)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Home » Code Library » ServiceDesignController (Ia.Wa.Controllers)

Public general use code classes and xml files that we've compiled and used over the years:

    1: using Ia.Wa.Models;
    2: using Microsoft.AspNetCore.Mvc;
    3: using System.Diagnostics;
    4:  
    5: namespace Ia.Wa.Controllers
    6: {
    7:     ////////////////////////////////////////////////////////////////////////////
    8:  
    9:     /// <summary publish="true">
   10:     ///
   11:     /// </summary>
   12:     /// 
   13:     /// <remarks> 
   14:     /// Copyright � 2006-2025 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   15:     ///
   16:     /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
   17:     /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
   18:     ///
   19:     /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
   20:     /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
   21:     /// 
   22:     /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
   23:     /// 
   24:     /// Copyright notice: This notice may not be removed or altered from any source distribution.
   25:     /// </remarks> 
   26:     public class ServiceDesignController : Controller
   27:     {
   28:         [Route("/service/design")]
   29:         public IActionResult Index() { return View("/Views/Service/Design/Index.cshtml"); }
   30:  
   31:         [Route("/service/design/animation")]
   32:         public IActionResult Animation() { return View("/Views/Service/Design/Animation.cshtml"); }
   33:  
   34:         [Route("/service/design/arabic")]
   35:         public IActionResult Arabic() { return View("/Views/Service/Design/Arabic.cshtml"); }
   36:  
   37:         [Route("/service/design/color")]
   38:         public IActionResult Color() { return View("/Views/Service/Design/Color.cshtml"); }
   39:  
   40:         [Route("/service/design/css")]
   41:         public IActionResult Css() { return View("/Views/Service/Design/Css.cshtml"); }
   42:  
   43:         /////////////////////////////////////////////////////////////////////////////////
   44:  
   45:         /// <summary>
   46:         ///
   47:         /// </summary>
   48:         [Route("/service/design/text-editor")]
   49:         public IActionResult TextEditor() 
   50:         { 
   51:             return View("/Views/Service/Design/TextEditor.cshtml"); 
   52:         }
   53:  
   54:         /////////////////////////////////////////////////////////////////////////////////
   55:  
   56:         /// <summary>
   57:         ///
   58:         /// </summary>
   59:         [HttpPost]
   60:         [Route("/service/design/text-editor")]
   61:         public IActionResult TextEditor(string textArea)
   62:         {
   63:             ViewBag.Text = textArea;
   64:  
   65:             return View("/Views/Service/Design/TextEditor.cshtml");
   66:         }
   67:  
   68:  
   69:         [Route("/service/design/graphic")]
   70:         public IActionResult Graphic() { return View("/Views/Service/Design/Graphic.cshtml"); }
   71:  
   72:         [Route("/service/design/html")]
   73:         public IActionResult Html() { return View("/Views/Service/Design/Html.cshtml"); }
   74:  
   75:         [Route("/service/design/jquery")]
   76:         public IActionResult Jquery() { return View("/Views/Service/Design/Jquery.cshtml"); }
   77:  
   78:         [Route("/service/design/js")]
   79:         public IActionResult Js() { return View("/Views/Service/Design/Js.cshtml"); }
   80:  
   81:         [Route("/service/design/menu")]
   82:         public IActionResult Menu() { return View("/Views/Service/Design/Menu.cshtml"); }
   83:  
   84:         [Route("/service/design/photo")]
   85:         public IActionResult Photo() { return View("/Views/Service/Design/Photo.cshtml"); }
   86:  
   87:         [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
   88:         public IActionResult Error()
   89:         {
   90:             return View(new Ia.Wa.Models.ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
   91:         }
   92:     }
   93: }