factorize creation and edition views

This commit is contained in:
2017-05-27 18:29:45 +02:00
parent 15af636b4e
commit c1e44914f6
2 changed files with 9 additions and 5 deletions

View File

@ -63,7 +63,7 @@ namespace Yavsc.Models
public bool AuthorizeCircle(long circleId)
{
return ACL.Any( i=>i.CircleId == circleId);
return ACL?.Any( i=>i.CircleId == circleId) ?? true;
}
public string GetOwnerId()