// [TypeFilter(typeof(AuthorizeAction), Arguments = new object[] { "Write" })] public IActionResult ChangeStatus(long ID, bool Status) { // changes active deacivate status return(Json(_interface.Deactivate(ID, Status))); }