Пример #1
0
        //[AuthorizeUser(RoleModule.Address, Function.View)]
        public JsonResult AddressTypeExist(string AddressType, string AddFor, string ObjectId)
        {
            Boolean IsExist = false;

            try
            {
                IsExist = _AddressManager.CheckAddressType(AddressType, AddFor, ObjectId);

                Logger.Debug("Address Controller Address Type Exists");
            }
            catch (Exception ex)
            {
                Logger.Error("Address Controller - DeleteAddress  " + ex.Message);
            }

            return(Json(IsExist, JsonRequestBehavior.AllowGet));
        }