@using System.Net.Http
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@using Microsoft.AspNetCore.Identity
@using SdvCode.Models.User
@using SdvShop.Pages
@using SdvCode.Areas.SdvShop.ViewModels.Category.ViewModels
@using SdvCode.Areas.SdvShop.Services.Category
@using SdvCode.Areas.SdvShop.Services.Product
@using SdvCode.Areas.SdvShop.ViewModels.Product.ViewModels
@using SdvCode.Areas.SdvShop.Pages.Comments
@using SdvCode.Areas.SdvShop.Pages.Rating
@using SdvCode.Areas.SdvShop.ViewModels.User
@using SdvCode.Areas.SdvShop.Services.ProductComment
@using Microsoft.AspNetCore.Http
@using SdvCode.Areas.SdvShop.ViewModels.Comment.InputModels
@using Newtonsoft.Json
@using SdvCode.Areas.SdvShop.ViewModels.Comment.ViewModel
@using SdvCode.Constraints
@using BlazorStrap
@using SdvCode.Areas.SdvShop.ViewModels.Review.InputModels
@using SdvCode.Areas.SdvShop.Services.ProductReview
@using SdvCode.Areas.SdvShop.ViewModels.Review.ViewModels
@using Blazored.SessionStorage
@using Blazored.LocalStorage
@using SdvCode.Areas.SdvShop.Services.States.ShoppingCart
@using SdvCode.Areas.SdvShop.Services.States.FavoriteProducts
@using SdvCode.Areas.SdvShop.ViewModels.Order
@using SdvCode.Areas.SdvShop.Pages.CheckoutOrder
@using SdvCode.Areas.SdvShop.Services.Order
@using SdvCode.Areas.SdvShop.Views.Shared
@using SdvCode.Areas.SdvShop.Pages.FavoriteProducts
@using SdvCode.Areas.SdvShop.ViewModels.FavoriteProducts
@using SdvCode.Areas.SdvShop.Pages.ShoppingCart
@using SdvCode.Areas.SdvShop.Pages.TrackOrder
@using SdvCode.Areas.SdvShop.ViewModels.TrackOrder
@using SdvCode.Areas.SdvShop.ViewModels.TrackOrder.InputModels
@using SdvCode.Areas.SdvShop.ViewModels.TrackOrder.ViewModels
@using SdvCode.Areas.SdvShop.Services.TrackOrder

@inject IHttpContextAccessor HttpContextAccessor
@inject SignInManager<ApplicationUser> SignInManager
@inject UserManager<ApplicationUser> UserManager
@inject IProductCategoryService CategoryService
@inject IProductService ProductService
@inject IProductCommentService CommentService
@inject HttpClient HttpClient
@inject NavigationManager NavigationManager
@inject IProductReviewService ReviewService
@inject ISessionStorageService SessionStorage
@inject ILocalStorageService LocalStorage
@inject ShoppingCartState ShoppingCartState
@inject FavoriteProductsState FavoriteProductsState
@inject IOrderService OrderService
@inject ITrackOrder TrackOrderProducts