Esempio n. 1
0
        public virtual AjaxResult GetEntityByID(Guid entityID)
        {
            var ajaxResult = new AjaxResult();

            try
            {
                ajaxResult.Data      = _baseBL.GetEntityByID(entityID);
                ajaxResult.Success   = true;
                ajaxResult.Messanger = Properties.Resources.VN_SuccessLoad;
            }
            catch (Exception)
            {
                ajaxResult.Success   = false;
                ajaxResult.Messanger = Properties.Resources.VN_ErrLoad;
            }

            return(ajaxResult);
        }