//[ApiAuthorizeAttribute(Roles = "A")] public EntityHttpResponse Delete(int id) { _Leaguemanager.Delete(x => x.id == id); _Leaguemanager.Save(); return(new EntityHttpResponse(System.Net.HttpStatusCode.NoContent, null, true)); }