private static SqlMenuFeed ConvertMenuFeed(WhMenuFeed feed) { return(new SqlMenuFeed { Id = feed.Id, ShortName = feed.ShortName, Name = feed.Name }); }
public static string GenerateMenuId(WhMenuFeed feed, DateTime day) { return($"{feed.Id}_{day:dd-MM-yy}"); }