delete employee picture in select

This commit is contained in:
2025-03-30 19:22:01 +03:30
parent 3e56d31ff2
commit 0303f04ae3

View File

@@ -228,7 +228,6 @@ namespace CompanyManagment.EFCore.Repository
SettingSalary = x.SettingSalary.ToMoney(),
DailyWage = x.DailyWage.ToMoney(),
ShiftStatus = x.ShiftStatus,
EmployeePicture = employeePictures.FirstOrDefault(p => p.Id == x.EmployeeId).Picture ?? "",
}).ToList();
List<WorkshopViewModel> workshopsList = workshopsQuery.Select(x => new WorkshopViewModel