You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
603 B
30 lines
603 B
using Microsoft.AspNetCore.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using APP.Models;
|
|
using BWPMModels;
|
|
|
|
namespace APP.Controllers
|
|
{
|
|
public class UserStatusController : Controller
|
|
{
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[HttpPost]
|
|
public IActionResult Login(LoginViewModel model)
|
|
{
|
|
if (!ModelState.IsValid)
|
|
{
|
|
return RedirectToAction("home");
|
|
}
|
|
return RedirectToAction("home");
|
|
}
|
|
}
|
|
}
|
|
|