EF7 npgsql => ko aux clients => inutile en lib [obsdnx]
This commit is contained in:
parent
ecdd4a794e
commit
09039fa9ee
495 changed files with 913 additions and 11207 deletions
18
Yavsc/ViewModels/Manage/ProfileEMailUsageViewModel.cs
Normal file
18
Yavsc/ViewModels/Manage/ProfileEMailUsageViewModel.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue