This file contains hidden or 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
using DeepSeekTestExercise.Contracts; | |
using DeepSeekTestExercise.Entities; | |
using DeepSeekTestExercise.Events; | |
using DeepSeekTestExercise.Exceptions; | |
namespace DeepSeekTestExercise.Services; | |
public class ShoppingCart | |
{ | |
private readonly IPaymentGateway _paymentGateway; |
This file contains hidden or 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
using System; | |
using Microsoft.EntityFrameworkCore.Migrations; | |
#nullable disable | |
namespace DeepSeekApiCore.Migrations | |
{ | |
/// <inheritdoc /> | |
public partial class InitialCreate : Migration | |
{ |
This file contains hidden or 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
using Microsoft.EntityFrameworkCore.Migrations; | |
#nullable disable | |
namespace DeepSeekCore.Migrations | |
{ | |
/// <inheritdoc /> | |
public partial class InitialCreate : Migration | |
{ | |
/// <inheritdoc /> |
This file contains hidden or 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
using DeepSeekChallenge.Contracts; | |
using DeepSeekChallenge.Entities; | |
using DeepSeekChallenge.Exceptions; | |
namespace DeepSeekChallenge.Services; | |
public class OrderProcessor | |
{ | |
private readonly IInventoryService _inventory; | |
private readonly IPaymentGateway _paymentGateway; |