public CreateCoffeePlaceTransaction( IUnitOfWork unitOfWork, ICoffeePlaceService coffeePlaceService) : base(unitOfWork) { _coffeePlaceService = coffeePlaceService; }
public CoffeePlacesController( ICoffeePlaceService coffeePlaceService, ICreateCoffeePlaceTransaction createCoffeePlaceTransaction, IUpdateCoffeePlaceTransaction updateCoffeePlaceTransaction) { _coffeePlaceService = coffeePlaceService; _createCoffeePlaceTransaction = createCoffeePlaceTransaction; _updateCoffeePlaceTransaction = updateCoffeePlaceTransaction; }
public CoffeePlaceServiceTests() { _coffeePlaceRepository = Substitute.For <ICoffeePlaceRepository>(); _coffeePlaceService = new CoffeePlaceService(_coffeePlaceRepository); }