Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Move ClearMostViewedCommand/DeleteActivitylogCommand to the Grand.Ser…
Browse files Browse the repository at this point in the history
…vices project
  • Loading branch information
KrzysztofPajak committed Jun 25, 2020
1 parent a9e10ca commit 5d5ff58
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
@@ -1,12 +1,12 @@
using Grand.Core.Data;
using Grand.Core.Domain.Catalog;
using Grand.Web.Areas.Admin.Commands.Model.Common;
using Grand.Services.Commands.Models.Common;
using MediatR;
using MongoDB.Driver;
using System.Threading;
using System.Threading.Tasks;

namespace Grand.Web.Areas.Admin.Commands.Handler.Common
namespace Grand.Services.Commands.Handlers.Common
{
public class ClearMostViewedCommandHandler : IRequestHandler<ClearMostViewedCommand, bool>
{
Expand Down
@@ -1,12 +1,12 @@
using Grand.Core.Data;
using Grand.Core.Domain.Logging;
using Grand.Web.Areas.Admin.Commands.Model.Common;
using Grand.Services.Commands.Models.Common;
using MediatR;
using MongoDB.Bson;
using System.Threading;
using System.Threading.Tasks;

namespace Grand.Web.Areas.Admin.Commands.Handler.Common
namespace Grand.Services.Commands.Handlers.Common
{
public class DeleteActivitylogCommandHandler : IRequestHandler<DeleteActivitylogCommand, bool>
{
Expand Down
@@ -1,6 +1,6 @@
using MediatR;

namespace Grand.Web.Areas.Admin.Commands.Model.Common
namespace Grand.Services.Commands.Models.Common
{
public class ClearMostViewedCommand : IRequest<bool>
{
Expand Down
@@ -1,6 +1,6 @@
using MediatR;

namespace Grand.Web.Areas.Admin.Commands.Model.Common
namespace Grand.Services.Commands.Models.Common
{
public class DeleteActivitylogCommand : IRequest<bool>
{
Expand Down
3 changes: 1 addition & 2 deletions Grand.Web/Areas/Admin/Controllers/CommonController.cs
Expand Up @@ -13,6 +13,7 @@
using Grand.Framework.Kendoui;
using Grand.Framework.Security;
using Grand.Framework.Security.Authorization;
using Grand.Services.Commands.Models.Common;
using Grand.Services.Customers;
using Grand.Services.Directory;
using Grand.Services.Helpers;
Expand All @@ -23,10 +24,8 @@
using Grand.Services.Seo;
using Grand.Services.Shipping;
using Grand.Services.Stores;
using Grand.Web.Areas.Admin.Commands.Model.Common;
using Grand.Web.Areas.Admin.Models.Common;
using MediatR;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
Expand Down

0 comments on commit 5d5ff58

Please sign in to comment.