public static MenuDto ConvertToDto(Menu menu)
        {
            MenuDto newMenu = new MenuDto();

            newMenu.Id              = menu.Id;
            newMenu.VolunteerId     = menu.VolunteerId;
            newMenu.Name            = menu.Name;
            newMenu.Quantity        = menu.Quantity;
            newMenu.Cost            = menu.Cost;
            newMenu.EventId         = menu.EventId;
            newMenu.MenuOrderNumber = menu.MenuOrderNumber;
            newMenu.User            = menu.User == null ? new UserDto() : UserConvertion.ConvertToDto(menu.User);
            return(newMenu);
        }
        public static EventsDto ConvertToDto(Events events)
        {
            EventsDto newEvent = new EventsDto();

            newEvent.Comment     = events.Comment;
            newEvent.Date        = events.Date;
            newEvent.Description = events.Description;
            newEvent.Id          = events.Id;
            newEvent.Promoter    = events.Promoter;
            newEvent.City        = events.City;
            newEvent.Description = events.Description;
            newEvent.GroupId     = events.GroupId;
            newEvent.Address     = events.Address;
            newEvent.EventKindId = events.EventKindId;
            newEvent.IsDairy     = events.IsDairy;
            newEvent.Repeat      = events.Repeat;
            newEvent.Title       = events.Title;
            newEvent.User        = events.User == null? new UserDto(): UserConvertion.ConvertToDto(events.User);
            newEvent.EventsKind  = events.EventsKind == null ? new EventsKindDto() : EventsKindConvertion.ConvertToDto(events.EventsKind);
            newEvent.Groups      = events.Groups == null ? new GroupsDto() : GroupsConvertion.ConvertToSingleDto(events.Groups);
            return(newEvent);
        }