добавила два класса биндинга для передачи данных

This commit is contained in:
Елена Бакальская 2024-05-04 21:58:43 +04:00
parent 843ccbe017
commit d998b597cc
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,12 @@
namespace SushiBarContracts.BindingModel
{
public class MailConfigBindingModel
{
public string MailLogin { get; set; } = string.Empty;
public string MailPassword { get; set; } = string.Empty;
public string SmtpClientHost { get; set; } = string.Empty;
public int SmtpClientPort { get; set; }
public string PopHost { get; set; } = string.Empty;
public int PopPort { get; set; }
}
}

View File

@ -0,0 +1,9 @@
namespace SushiBarContracts.BindingModel
{
public class MailSendInfoBindingModel
{
public string MailAddress { get; set; } = string.Empty;
public string Subject { get; set; } = string.Empty;
public string Text { get; set; } = string.Empty;
}
}