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.

CustomerLoginDTO.cs 351B

12345678910111213
  1. using System.ComponentModel.DataAnnotations;
  2. namespace Diligent.WebAPI.Host.DTOs.Customer
  3. {
  4. public class CustomerLoginDTO
  5. {
  6. [Required(ErrorMessage = "Username is required")]
  7. public string Username { get; set; }
  8. [Required(ErrorMessage = "Password is required")]
  9. public string Password { get; set; }
  10. }
  11. }