18 lines
365 B
C#
18 lines
365 B
C#
|
8 years ago
|
using Yavsc.Models;
|
||
|
|
|
||
|
|
namespace Yavsc.ViewModels.Manage
|
||
|
|
{
|
||
|
|
public class ProfileEMailUsageViewModel
|
||
|
|
{
|
||
|
|
public bool Allow { get; set; }
|
||
|
|
|
||
|
|
public ProfileEMailUsageViewModel()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
public ProfileEMailUsageViewModel(ApplicationUser user=null)
|
||
|
|
{
|
||
|
|
Allow = user.AllowMonthlyEmail;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|