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

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

    1: using Microsoft.AspNetCore.Mvc;
    2: using System.Diagnostics;
    3:  
    4: namespace Ia.TentPlay.Wa.Controllers
    5: {
    6:     ////////////////////////////////////////////////////////////////////////////
    7:  
    8:     /// <summary publish="true">
    9:     ///
   10:     /// </summary>
   11:     /// 
   12:     /// <remarks> 
   13:     /// Copyright � 2006-2025 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   14:     ///
   15:     /// 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
   16:     /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
   17:     ///
   18:     /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
   19:     /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
   20:     /// 
   21:     /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
   22:     /// 
   23:     /// Copyright notice: This notice may not be removed or altered from any source distribution.
   24:     /// </remarks> 
   25:     public class LegalController : Controller
   26:     {
   27:         private readonly ILogger<LegalController> _logger;
   28:  
   29:         /////////////////////////////////////////////////////////////////////////////////
   30:  
   31:         /// <summary>
   32:         ///
   33:         /// </summary>
   34:         public LegalController(ILogger<LegalController> logger)
   35:         {
   36:             _logger = logger;
   37:         }
   38:  
   39:         /////////////////////////////////////////////////////////////////////////////////
   40:  
   41:         /// <summary>
   42:         ///
   43:         /// </summary>
   44:         public IActionResult Index()
   45:         {
   46:             return View();
   47:         }
   48:  
   49:         /////////////////////////////////////////////////////////////////////////////////
   50:  
   51:         /// <summary>
   52:         ///
   53:         /// </summary>
   54:         [Route("/legal/anti-spam")]
   55:         public IActionResult AntiSpam()
   56:         {
   57:             return View();
   58:         }
   59:  
   60:         /////////////////////////////////////////////////////////////////////////////////
   61:  
   62:         /// <summary>
   63:         ///
   64:         /// </summary>
   65:         public IActionResult Copyright()
   66:         {
   67:             return View();
   68:         }
   69:  
   70:         /////////////////////////////////////////////////////////////////////////////////
   71:  
   72:         /// <summary>
   73:         ///
   74:         /// </summary>
   75:         public IActionResult Disclaimer()
   76:         {
   77:             return View();
   78:         }
   79:  
   80:         /////////////////////////////////////////////////////////////////////////////////
   81:  
   82:         /// <summary>
   83:         ///
   84:         /// </summary>
   85:         public IActionResult Privacy()
   86:         {
   87:             return View();
   88:         }
   89:  
   90:         /////////////////////////////////////////////////////////////////////////////////
   91:  
   92:         /// <summary>
   93:         ///
   94:         /// </summary>
   95:         [Route("/legal/terms-of-use")]
   96:         public IActionResult TermsOfUse()
   97:         {
   98:             return View();
   99:         }
  100:  
  101:         /////////////////////////////////////////////////////////////////////////////////
  102:  
  103:         /// <summary>
  104:         ///
  105:         /// </summary>
  106:         [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
  107:         public IActionResult Error()
  108:         {
  109:             return View(new Ia.TentPlay.Wa.Models.ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
  110:         }
  111:  
  112:         /////////////////////////////////////////////////////////////////////////////////
  113:         /////////////////////////////////////////////////////////////////////////////////
  114:     }
  115:  
  116:     /////////////////////////////////////////////////////////////////////////////////
  117:     /////////////////////////////////////////////////////////////////////////////////
  118: }