Пример #1
0
        public ActionResult Person_Activ([DataSourceRequest] DataSourceRequest request, string pid)
        {
            Person _person = new Person();

            _person.IsActive    = true;
            _person.IsDeleted   = false;
            _person.ID          = Convert.ToInt64(pid);
            _person.UpdatedBy   = CurrentUser.NameIdentifierInt64;
            _person.UpdatedDate = DateTime.Now;

            var result = _PersonBAL.Person_ActiveBAL(_person);

            return(Json(new object[0].ToDataSourceResult(request, ModelState)));
        }