Esempio n. 1
0
        public ActionResult DeleteIncoterm(int incotermId)
        {
            #region Check Rights
            bool hasRights = false;
            hasRights = AdminHelper.CheckUserAction(ScreenEnum.IncotermLibrary, ActionEnum.Delete);
            if (!hasRights)
            {
                return(Json("You are UnAuthorized to do this action"));
            }

            #endregion
            return(Json(LibraryCommonHelper.DeleteIncoterm(incotermId)));
        }