Skip to content

Instantly share code, notes, and snippets.

@mikebrind
Created April 1, 2019 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebrind/a5373a8b419eab98d8d0538cbc6e6f63 to your computer and use it in GitHub Desktop.
Save mikebrind/a5373a8b419eab98d8d0538cbc6e6f63 to your computer and use it in GitHub Desktop.
public interface IProductService
{
List<string> GetProductNames();
}
public class ProductService : IProductService
{
public List<string> GetProductNames()
{
return new List<string>
{
"chai",
"chang",
"aniseed-syrup",
"chef-antons-cajun-seasoning",
"chef-antons-gumbo-mix",
"grandmas-boysenberry-spread",
"uncle-bobs-organic-dried-pears",
"northwoods-cranberry-sauce",
"mishi-kobe-niku"
};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment