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