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

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

    1: using Microsoft.AspNetCore.Authorization;
    2: using Microsoft.AspNetCore.Mvc;
    3: using System.Diagnostics;
    4:  
    5: namespace Ia.Ftn.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:     /// </remarks> 
   16:     [Authorize]
   17:     public class LegalController : Controller
   18:     {
   19:         /////////////////////////////////////////////////////////////////////////////////
   20:  
   21:         /// <summary>
   22:         ///
   23:         /// </summary>
   24:         [HttpGet]
   25:         public IActionResult Index()
   26:         {
   27:             return View();
   28:         }
   29:  
   30:         /////////////////////////////////////////////////////////////////////////////////
   31:  
   32:         /// <summary>
   33:         ///
   34:         /// </summary>
   35:         [HttpGet]
   36:         [Route("/legal/anti-spam")]
   37:         public IActionResult AntiSpam()
   38:         {
   39:             return View();
   40:         }
   41:  
   42:         /////////////////////////////////////////////////////////////////////////////////
   43:  
   44:         /// <summary>
   45:         ///
   46:         /// </summary>
   47:         [HttpGet]
   48:         public IActionResult Copyright()
   49:         {
   50:             return View();
   51:         }
   52:  
   53:         /////////////////////////////////////////////////////////////////////////////////
   54:  
   55:         /// <summary>
   56:         ///
   57:         /// </summary>
   58:         [HttpGet]
   59:         public IActionResult Disclaimer()
   60:         {
   61:             return View();
   62:         }
   63:  
   64:         /////////////////////////////////////////////////////////////////////////////////
   65:  
   66:         /// <summary>
   67:         ///
   68:         /// </summary>
   69:         [HttpGet]
   70:         public IActionResult Privacy()
   71:         {
   72:             return View();
   73:         }
   74:  
   75:         /////////////////////////////////////////////////////////////////////////////////
   76:  
   77:         /// <summary>
   78:         ///
   79:         /// </summary>
   80:         [HttpGet]
   81:         [Route("/legal/terms-of-use")]
   82:         public IActionResult TermsOfUse()
   83:         {
   84:             return View();
   85:         }
   86:  
   87:         /////////////////////////////////////////////////////////////////////////////////
   88:  
   89:         /// <summary>
   90:         ///
   91:         /// </summary>
   92:         [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
   93:         public IActionResult Error()
   94:         {
   95:             return View(new Ia.Ftn.Wa.Models.ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
   96:         }
   97:  
   98:         /////////////////////////////////////////////////////////////////////////////////
   99:         /////////////////////////////////////////////////////////////////////////////////
  100:     }
  101:  
  102:     /////////////////////////////////////////////////////////////////////////////////
  103:     /////////////////////////////////////////////////////////////////////////////////
  104: }