Skip to content

Instantly share code, notes, and snippets.

@coqmo5
Last active December 19, 2020 14:01
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 coqmo5/de86a958c52864377dbbafc441e423f4 to your computer and use it in GitHub Desktop.
Save coqmo5/de86a958c52864377dbbafc441e423f4 to your computer and use it in GitHub Desktop.
public class DateManager : IDateManagerContract
{
public DateTime GetNextWeekDate(DateTime currentDate)
{
return currentDate.AddDays(7);
}
public DateTime GetNextYearDate(DateTime currentDate)
{
return currentDate.AddYears(1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment