forked from jasontaylordev/NorthwindTraders
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue "Failing to instantiate CreateCustomerCommandHandler"
- Loading branch information
1 parent
4c2b152
commit 930ebfc
Showing
4 changed files
with
11 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
using Northwind.Application.Notifications.Models; | ||
using System.Threading.Tasks; | ||
|
||
namespace Northwind.Application.Interfaces | ||
{ | ||
public interface INotificationService | ||
{ | ||
void Send(Message message); | ||
Task SendAsync(Message message); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
using Northwind.Application.Interfaces; | ||
using Northwind.Application.Notifications.Models; | ||
using System.Threading.Tasks; | ||
|
||
namespace Northwind.Infrastructure | ||
{ | ||
public class NotificationService : INotificationService | ||
{ | ||
public void Send(Message message) | ||
public Task SendAsync(Message message) | ||
{ | ||
// Do nothing | ||
return Task.CompletedTask; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters