Add project files.

This commit is contained in:
Atakan Doğan Özban
2026-02-13 23:40:52 +01:00
parent cf37f33a1e
commit 202dc16a52
199 changed files with 98481 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
using System.Web.Mvc;
using atakanozbancom;
namespace atakanozbancom.Controllers
{
public class MainController : languageController
{
[HttpGet]
public ActionResult Index()
{
return View();
}
[HttpGet]
public ActionResult ChangeLanguage(string lang, string returnUrl)
{
new LanguageTR().SetLanguage(lang);
if (!string.IsNullOrEmpty(returnUrl) && Url.IsLocalUrl(returnUrl))
return Redirect(returnUrl);
return RedirectToAction("Index", "Main");
}
}
}