public async Task <ActionResult <BackpackInviteModel> > GetUserLocationTypesAsync()
        {
            var query         = new GetUserLocationTypes();
            var locationTypes = await _mediator.Send(query);

            return(Ok(locationTypes));
        }
 public Task <IImmutableList <IndexedItemModel> > Handle(GetUserLocationTypes request, CancellationToken cancellationToken)
 {
     var locationTypes = new List <IndexedItemModel>
     {
         new()
         {
             Id    = (int)UserLocationType.Other,
             Label = "Altă adresă"
         },
         new()
         {
             Id    = (int)UserLocationType.Home,
             Label = "Casă"
         },
         new()
         {
             Id    = (int)UserLocationType.Work,
             Label = "Serviciu"
         },
         new()
         {
             Id    = (int)UserLocationType.School,
             Label = "Școală"
         },
         new()
         {
             Id    = (int)UserLocationType.Gym,
             Label = "Sala de sport"
         }
     }.ToImmutableList();