/// <summary> /// Create /// </summary> /// <param name="model"></param> /// <returns></returns> public static MenuModel Create(MenuModel model) { var entity = new Menu(); model.FillEntity(ref entity); return(new MenuModel(MenuServices.Create(entity))); }