public bool createReservation(string title, string placeId, string placeName, string placeAddress, string placeLat, string placeLng, string date, string startTime, string endTime, string numberPeople,
                                      string sexString, string ageString, string cuisineType, bool smoke, bool pet, bool alcohol, string languages, string description)
        {
            // ViewData["UserType"] = Request.Cookies["UserType"] ?? "regular";
            string   startString = date + " " + startTime;
            string   endString   = date + " " + endTime;
            DateTime startDate   = DateTime.ParseExact(startString, "yyyy-MM-dd HH:mm", null);
            DateTime endDate     = DateTime.ParseExact(endString, "yyyy-MM-dd HH:mm", null);
            string   userID      = _userManager.GetUserId(User);

            if (!rr.placeIdExist(placeId))
            {
                Place place = new Place()
                {
                    Id         = placeId,
                    Latitude   = Convert.ToDouble(placeLat),
                    Longtitude = Convert.ToDouble(placeLng),
                    Name       = placeName,
                    Address    = placeAddress
                };
                _context.Place.Add(place);
                _context.SaveChanges();
            }

            Reservation reservation = new Reservation()
            {
                Id             = rr.GenerateReservationId(),
                Title          = title,
                DateStart      = startDate,
                DateEnd        = endDate,
                NumberOfPeople = Int32.Parse(numberPeople),
                Status         = "open",
                PlaceID        = placeId,
                UserId         = userID
            };

            rr.CreateReservation(reservation);

            UserReservation userReservation = new UserReservation
            {
                UserID        = reservation.UserId,
                ReservationID = reservation.Id,
                isHost        = true
            };

            _context.UserReservation.Add(userReservation);
            _context.SaveChanges();

            Limitations limitations = new Limitations()
            {
                Id          = reservation.Id,
                Gender      = sexString,
                CuisineType = cuisineType,
                Age         = ageString,
                Smoking     = smoke,
                Pets        = pet,
                Alcohol     = alcohol,
                Languages   = languages,
                Description = description
            };

            _context.Limitations.Add(limitations);
            _context.SaveChanges();

            return(true);
        }