public MasterBehavior[] GetBehaviors([FromBody] BehaviorFilter data) { //int categoryId; int behaviorTypeId; int majorGroupId; int orgId; //int.TryParse(data.Get("categoryId"), out categoryId); //int.TryParse(data.Get("behaviorTypeId"), out behaviorTypeId); //int.TryParse(data.Get("majorGroupId"), out majorGroupId); //int.TryParse(data.Get("orgId"), out orgId); return(BehaviorService.GetBehaviors(data.CategoryId, data.BehaviorTypeId, data.MajorGroupId, data.OrgId).ToArray()); }