Created
April 1, 2019 07:29
-
-
Save mikebrind/a5373a8b419eab98d8d0538cbc6e6f63 to your computer and use it in GitHub Desktop.
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
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