public interface IWidgetService { int CountWidgets(); } public class WidgetService : IWidgetService { public int CountWidgets() { // Lets skip the database for now :) return 5; } }
public interface IWidgetService { int CountWidgets(); } public class WidgetService : IWidgetService { public int CountWidgets() { // Lets skip the database for now :) return 5; } }