Skip to content

Instantly share code, notes, and snippets.

@crmckenzie
Created August 15, 2012 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crmckenzie/3363493 to your computer and use it in GitHub Desktop.
Save crmckenzie/3363493 to your computer and use it in GitHub Desktop.
Bad Batch API Design
public interface IRecordProcessor
{
Response Process(Record[] records);
}
public class Response
{
public bool Success { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment