Created
November 28, 2020 20:05
-
-
Save AbubakarSiddiq/672fbe9f1577fce359aecefeb25a6922 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace BookStore.Models | |
{ | |
public class LoginModel | |
{ | |
[Required(ErrorMessage = "User Name is required")] | |
public string Username { get; set; } | |
[Required(ErrorMessage = "Password is required")] | |
public string Password { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment