public ActionResult Bireyler(string RecordId, string MenuId)
        {
            CrmRepository crmDB = RepositoryManager.GetRepository <CrmRepository>();
            Birey         model = new Birey();

            #region Ortak Set Edilecek Değerler
            MenuId         = GlobalHelper.Decrypt(MenuId);
            model.RecordId = RecordId;
            model.MenuId   = MenuId;
            SessionContext.Current.ActiveUser.MenuId = MenuId;
            #endregion

            Guid recordId = Guid.Empty;

            model.activeKurumlar = crmDB.GetKurumList();


            if (GlobalHelper.IsGuid(model.RecordId))
            {
                try
                {
                    recordId = Guid.Parse(model.RecordId);
                    model    = crmDB.BindBirey(model, recordId);
                    if (model.calistigi_kurum_id != null && GlobalHelper.IsGuidOrEmpty(model.calistigi_kurum_id))
                    {
                        model.calistigi_kurum_id = model.calistigi_kurum_id.ToString();
                    }
                    ViewBag.ResultMessage = Resources.GlobalResource.transaction_success;
                }
                catch (Exception exp)
                {
                    ViewBag.Success = false;
                    ModelState.AddModelError("Error", exp.Message);
                }
            }

            return(View(model));
        }