public ResultDto Add(RequestAddNewSellerDto request)
        {
            var seller = new eshop.Domain.Entities.Sellers.Seller
            {
                UserName = request.UserName,
                //Addrress = request.Addrress,
                IsActive = true,
                Mobile   = request.Mobile,
                //Phone = request.Phone,
                //CityId = request.CityId,
                ShopName = request.ShopName,
                Category = _context.Categories.SingleOrDefault(n => n.Id == request.CategoryId),
                UserId   = request.UserId,
            };

            try
            {
                _context.Sellers.Add(seller);
                _context.SaveChanges();
                return(new ResultDto()
                {
                    IsSuccess = true,
                    Message = "!ثبت نام با موفقیت انجام شد",
                });
            }
            catch (Exception ex)
            {
                return(new ResultDto()
                {
                    IsSuccess = false,
                    Message = ex.ToString(),
                });
            }
        }
        public string GetSellerCategory(string UserId)
        {
            eshop.Domain.Entities.Sellers.Seller _seller = _context.Sellers.SingleOrDefault(s => s.UserId == UserId);
            string categoryId = _context.Categories.SingleOrDefault(c => c.Id == _seller.CategoryId).Id.ToString();

            return(categoryId);
        }