Example #1
0
        public ActionResult DoAddCatalogue(WikiCatalogues_Info _ObjectInfo)
        {
            decimal _rel = 0;

            try
            {
                var _ObjBL = new WikiCatalogue_BL();
                _ObjectInfo.CREATED_BY   = SessionData.CurrentUser.Username;
                _ObjectInfo.CREATED_DATE = DateTime.Now;
                _rel = _ObjBL.WikiCatalogue_Insert(_ObjectInfo);
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
            }

            return(Json(new { result = _rel }));
        }