Skip to content

Commit

Permalink
CompareProductService - move actions to the product controller
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofPajak committed Oct 21, 2021
1 parent 79af2ba commit 1cec820
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 404 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ private void RegisterCatalogService(IServiceCollection serviceCollection)
serviceCollection.AddScoped<IOutOfStockSubscriptionService, OutOfStockSubscriptionService>();
serviceCollection.AddScoped<ICategoryService, CategoryService>();
serviceCollection.AddScoped<IBrandService, BrandService>();
serviceCollection.AddScoped<ICompareProductsService, CompareProductsService>();
serviceCollection.AddScoped<IRecentlyViewedProductsService, RecentlyViewedProductsService>();
serviceCollection.AddScoped<ICollectionService, CollectionService>();
serviceCollection.AddScoped<IPriceFormatter, PriceFormatter>();
Expand Down
6 changes: 1 addition & 5 deletions src/Business/Grand.Business.Storage/Extensions/Extensions.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

namespace Grand.Business.Storage.Extensions
{
Expand Down Expand Up @@ -38,6 +34,6 @@ public static byte[] GetPictureBits(this IFormFile file)
return GetDownloadBits(file);
}


}
}

This file was deleted.

Loading

0 comments on commit 1cec820

Please sign in to comment.