M$ AspNet.WebApi 2.2
Testé avec mono current sous Debian Sid: l'import AspNet.WebApi 2.2
This commit is contained in:
parent
d40679cdf4
commit
1f64b48966
97 changed files with 7890 additions and 9323 deletions
|
|
@ -129,7 +129,7 @@ namespace Yavsc.ApiControllers
|
|||
string user = Membership.GetUser ().UserName;
|
||||
CircleBase current = CircleManager.DefaultProvider.Get (circle.Id);
|
||||
if (current.Owner != user)
|
||||
throw new AuthorizationDenied ("Your not owner of circle at id "+circle.Id);
|
||||
throw new AuthorizationDenied ();
|
||||
CircleManager.DefaultProvider.UpdateCircle (circle);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue