Skip to content

Instantly share code, notes, and snippets.

@sskset
Last active July 12, 2020 13:10
Show Gist options
  • Save sskset/149a19a243284e689769ba83d9cf8244 to your computer and use it in GitHub Desktop.
Save sskset/149a19a243284e689769ba83d9cf8244 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Sample.API.Services
{
public interface ISomeWorkService
{
void DoSomeWork();
}
public class SomeWorkService : ISomeWorkService
{
public void DoSomeWork()
{
Console.WriteLine(string.Format("Shut up I am running - {0}", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment