factorize creation and edition views

This commit is contained in:
Paul Schneider 2017-05-27 18:29:45 +02:00
commit fccf8fe310
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()