Spontaneous.DataModel.MenuPart.ToMenuPartListEntity C# (CSharp) Method

ToMenuPartListEntity() public method

public ToMenuPartListEntity ( ) : MenuPartListEntity
return MenuPartListEntity
        public MenuPartListEntity ToMenuPartListEntity()
        {
            MenuPartListEntity entity = new MenuPartListEntity
            {
                Id = this.Id.ToString(),
                Name = this.Name
            };
            return entity;
        }