예제 #1
0
        private void UserValidation()
        {
            var userType = _audience.UserType();

            if (userType != Common.Enums.UserType.Retailer)
            {
                throw new Exception("This user can not add/update products");
            }
        }