コード例 #1
0
        public ActionResult AddQuote(string id)
        {
            if (!string.IsNullOrEmpty(id) && string.IsNullOrEmpty(Crypto.Decrypt(id)))
                return View("NotFound");

            _productDataProvider = new ProductDataProvider();
            ServiceResponse response = _productDataProvider.AddQuote(id,SessionHelper.SelectedRole.RoleID==Constants.Role_Admin,SessionHelper.UserID);

            return ShowUserFriendlyPages(response) ?? View(response.Data);
        }