final fix
This commit is contained in:
parent
aaa156086f
commit
40a8ac6f6d
@ -6,6 +6,7 @@ using HotelContracts.SearchModels;
|
|||||||
using HotelContracts.StoragesContracts;
|
using HotelContracts.StoragesContracts;
|
||||||
using HotelContracts.ViewModels;
|
using HotelContracts.ViewModels;
|
||||||
using HotelDataBaseImplement.Models;
|
using HotelDataBaseImplement.Models;
|
||||||
|
using DocumentFormat.OpenXml.Wordprocessing;
|
||||||
|
|
||||||
namespace HotelBusinessLogic.BusinessLogics
|
namespace HotelBusinessLogic.BusinessLogics
|
||||||
{
|
{
|
||||||
@ -116,6 +117,8 @@ namespace HotelBusinessLogic.BusinessLogics
|
|||||||
foreach (var mp in conferenceBooking.ConferenceBookingLunches.Values)
|
foreach (var mp in conferenceBooking.ConferenceBookingLunches.Values)
|
||||||
{
|
{
|
||||||
var conference = conferenced.FirstOrDefault(dp => dp.Id == conferenceBooking.ConferenceId);
|
var conference = conferenced.FirstOrDefault(dp => dp.Id == conferenceBooking.ConferenceId);
|
||||||
|
if (conference != null)
|
||||||
|
{
|
||||||
listAll.Add(new ReportLunchesViewModel
|
listAll.Add(new ReportLunchesViewModel
|
||||||
{
|
{
|
||||||
LunchName = mp.LunchName,
|
LunchName = mp.LunchName,
|
||||||
@ -125,6 +128,7 @@ namespace HotelBusinessLogic.BusinessLogics
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return listAll;
|
return listAll;
|
||||||
}
|
}
|
||||||
|
@ -116,6 +116,8 @@ namespace HotelBusinessLogic.BusinessLogics
|
|||||||
foreach (var mp in mealPlan.MealPlanMembers.Values)
|
foreach (var mp in mealPlan.MealPlanMembers.Values)
|
||||||
{
|
{
|
||||||
var room = rooms.FirstOrDefault(r => r.MealPlanId == mealPlan.Id);
|
var room = rooms.FirstOrDefault(r => r.MealPlanId == mealPlan.Id);
|
||||||
|
if (room != null)
|
||||||
|
{
|
||||||
listAll.Add(new ReportMembersViewModel
|
listAll.Add(new ReportMembersViewModel
|
||||||
{
|
{
|
||||||
MemberSurname = mp.MemberSurname,
|
MemberSurname = mp.MemberSurname,
|
||||||
@ -126,6 +128,7 @@ namespace HotelBusinessLogic.BusinessLogics
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return listAll;
|
return listAll;
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"dotnetRunMessages": true,
|
"dotnetRunMessages": true,
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"applicationUrl": "https://localhost:7020;http://localhost:5029",
|
"applicationUrl": "https://localhost:7040;http://localhost:5049",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user