public ActionResult Search()
 {
     return(ForView(new UserSearchVM()
     {
         Depts = DeptBD.GetRefList(o => o.Corp.Id == GetLoginCorpId())
     }));
 }
        protected override void OnViewExecuting(object viewModel)
        {
            var l = DeptBD.GetRefList(o => o.Corp.Id == GetLoginCorpId());

            SetViewModel <UserEditVM>(m => m.Depts   = l);
            SetViewModel <UserSearchVM>(m => m.Depts = l);
        }