Created
April 16, 2020 02:15
-
-
Save cyberhck/fa3cc6f2948af0acd6fcb6dff90b0215 to your computer and use it in GitHub Desktop.
part of medium class, look at https://gist.github.com/cyberhck/e142b7b94fd939691f67a6d3342094b1 for all classes
This file contains hidden or 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
namespace Micro.Starter.Api { | |
public interface IService { | |
string Greet(string name); | |
} | |
public class Service : IService { | |
public string Greet(string name) { | |
return $"Hello {name}"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment