добавила два класса биндинга для передачи данных
This commit is contained in:
parent
843ccbe017
commit
d998b597cc
12
SushiBarContracts/BindingModel/MailConfigBindingModel.cs
Normal file
12
SushiBarContracts/BindingModel/MailConfigBindingModel.cs
Normal 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; }
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user