public void chk(BasketItemRequestModel item)
        {
            try
            {
                //var chk = basketAbstract.AuthenticateItems(item);
                string name       = basketAbstract.GetType().Name;
                string assembly   = basketAbstract.GetType().Assembly.ToString();
                string fname      = basketAbstract.GetType().FullName;
                string returntype = basketAbstract.Method.ReturnType.ToString();
                string type       = basketAbstract.Method.ReflectedType.Name;
                string targettype = basketAbstract.Target.GetType().Name;



                var chk = basketAbstract(item).AuthenticateItems(item);


                string name1       = basketAbstract.GetType().Name;
                string assembly1   = basketAbstract.GetType().Assembly.ToString();
                string fname1      = basketAbstract.GetType().FullName;
                string returntype1 = basketAbstract.Method.ReturnType.ToString();
                string type1       = basketAbstract.Method.ReflectedType.Name;
                string targettype1 = basketAbstract.Target.GetType().Name;
            }
            catch (Exception ex)
            {
            }
        }
        public override bool AuthenticateItems(BasketItemRequestModel item)
        {
            var authenticateStandardItem = _dbContext.TblCatalogStandards
                                           .Where(x => x.CatalogStandardId == item.CatalogStandardId &&
                                                  x.CustomerId == _userService.CustomerId &&
                                                  x.IsActive == true)
                                           .SingleOrDefault();

            if (authenticateStandardItem != null)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
 public abstract bool AuthenticateItems(BasketItemRequestModel item);