public ActionResult Edit(TeamIM page)
        {
            if (!ModelState.IsValid)
            {
                AR.Setfailure(GetModelErrorMessage());
                return(Json(AR, JsonRequestBehavior.DenyGet));
            }

            try
            {
                var old      = _teamServices.GetById(page.Id);
                var editTeam = _mapper.Map(page, old);



                _teamServices.Update(editTeam);



                // var pageVM = _mapper.Map<TeamVM>(editTeam);

                AR.Id   = page.Id;
                AR.Data = RenderPartialViewToString("_TeamItem", editTeam);

                AR.SetSuccess(String.Format(Messages.AlertUpdateSuccess, EntityNames.Team));
                return(Json(AR, JsonRequestBehavior.DenyGet));
            }
            catch (Exception er)
            {
                AR.Setfailure(er.Message);
                return(Json(AR, JsonRequestBehavior.DenyGet));
            }
        }