private void CPChangeProductEmployeePrice() { if (user.HasPolicy("Store.Product.Update")) { string productName = postData["productName"]; decimal employeePrice = Convert.ToDecimal(postData["employeePrice"]); SqlStoredProcedures sqlSP = new SqlStoredProcedures(); sqlSP.StoreChangeProductEmployeePrice(productName, employeePrice); } else { throw new NoPermissionException(); } }