public static void Main()
Response response = new Response();
response = response.EmailContentLoad().EmailPlaceholdersLoad().SendEmail();
Console.WriteLine(response.Data);
public bool Successful { get; set; }
public string Data { get; set; }
public static class ResponseExtensions
public static Response EmailContentLoad(this Response response)
response.Data = "Email Content Load worked fine";
response.Successful = true;
public static Response EmailPlaceholdersLoad(this Response response)
response.Data = "Email Placeholders Load broke!";
response.Successful = false;
public static Response SendEmail(this Response response)
response.Data = "Email Content Load worked fine";
response.Successful = true;