DotNetCorePlugins/samples/dynamic-implementation/ServiceImplementation/OverrideFruiteService.cs
2021-01-30 15:41:10 -08:00

20 lines
472 B
C#

// Copyright (c) Nate McMaster.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Contracts;
namespace ServiceImplementation
{
public class OverrideFruiteService : IFruitService
{
public List<Fruit> GetFruits()
{
return new List<Fruit>()
{
new Fruit { Name="Banana" }
};
}
}
}