logic added

This commit is contained in:
2021-02-04 22:45:41 +01:00
parent e5098c02d9
commit bf57e3a983
11 changed files with 150 additions and 28 deletions

View File

@@ -1,13 +0,0 @@
using System.Collections.Generic;
namespace Massmailer.Shared.Model
{
public class MassmailProject
{
public List<MassmailRecipient> Recipient { get; set; }
public string Subject { get; set; }
public string Body { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System.Collections.Generic;
namespace Massmailer.Shared.Model
{
public class MassmailerProject
{
public MassmailerProject()
{
this.Recipients = new List<MassmailerRecipient>();
}
public List<MassmailerRecipient> Recipients { get; set; }
public string Subject { get; set; }
public string Body { get; set; }
}
}

View File

@@ -2,9 +2,9 @@
namespace Massmailer.Shared.Model
{
public class MassmailRecipient
public class MassmailerRecipient
{
public string Recipient { get; set; }
public string Address { get; set; }
public bool IsSent { get; set; }

View File

@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Massmailer.Shared.Model
namespace Massmailer.Shared.Model
{
public class SmtpSettings
{