public ContentResult Update(Context context, int id) { var log = new SysLogModel(context: context); var result = context.Authenticated ? GroupUtilities.UpdateByApi( context: context, ss: SiteSettingsUtilities.ApiGroupsSiteSettings(context), groupId: id) : ApiResults.Unauthorized(context: context); log.Finish( context: context, responseSize: result.Content.Length); return(result); }