Ajoute ou supprime des cercle aux posts
This commit is contained in:
parent
e35c0d23c2
commit
d3e7942785
19 changed files with 199 additions and 67 deletions
10
Yavsc/ViewModels/Controls/AjaxCheckBoxInfo.cs
Normal file
10
Yavsc/ViewModels/Controls/AjaxCheckBoxInfo.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace Yavsc.ViewModels.Controls
|
||||
{
|
||||
public class AjaxCheckBoxInfo
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public string Value { get; set; }
|
||||
public bool Checked { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
15
Yavsc/ViewModels/Relationship/CirclesViewModel.cs
Normal file
15
Yavsc/ViewModels/Relationship/CirclesViewModel.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using YavscLib;
|
||||
|
||||
namespace Yavsc.ViewModels.Relationship
|
||||
{
|
||||
public class CirclesViewModel
|
||||
{
|
||||
public CirclesViewModel(ICircleAuthorized resource)
|
||||
{
|
||||
Target = resource;
|
||||
TargetTypeName = resource.GetType().Name;
|
||||
}
|
||||
public ICircleAuthorized Target { get; set; }
|
||||
public string TargetTypeName { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue