The next generation of the Teknik Services. Written in ASP.NET.
https://www.teknik.io/
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.
31 lines
775 B
31 lines
775 B
using System; |
|
using System.Collections.Generic; |
|
using System.ComponentModel.DataAnnotations; |
|
using System.Linq; |
|
using System.Web; |
|
using System.Web.Security; |
|
using Teknik.Helpers; |
|
using Teknik.Models; |
|
using Teknik.ViewModels; |
|
|
|
namespace Teknik.Areas.Profile.ViewModels |
|
{ |
|
public class LoginViewModel : ViewModelBase |
|
{ |
|
private TeknikEntities db = new TeknikEntities(); |
|
|
|
[Required] |
|
[Display(Name = "Username")] |
|
public string Username { get; set; } |
|
|
|
[Required] |
|
[Display(Name = "Password")] |
|
[DataType(DataType.Password)] |
|
public string Password { get; set; } |
|
|
|
[Display(Name = "Remember Me")] |
|
public bool RememberMe { get; set; } |
|
|
|
public string ReturnUrl { get; set; } |
|
} |
|
} |