Пример #1
0
        public static GrillMenuItem CreateGrillMenuItem(global::System.Guid ID, int length, int width, global::System.TimeSpan duration)
        {
            GrillMenuItem grillMenuItem = new GrillMenuItem();

            grillMenuItem.Id       = ID;
            grillMenuItem.Length   = length;
            grillMenuItem.Width    = width;
            grillMenuItem.Duration = duration;
            return(grillMenuItem);
        }
Пример #2
0
 public void AddToGrillMenuItems(GrillMenuItem grillMenuItem)
 {
     base.AddObject("GrillMenuItems", grillMenuItem);
 }