added collaborator view.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-13 18:19:52 -07:00
parent 90fa6ad5fc
commit c972f9c8a2
6 changed files with 52 additions and 3 deletions

View File

@@ -672,6 +672,9 @@ namespace CarCareTracker.Controllers
{
viewModel.Years.Add(DateTime.Now.AddYears(i * -1).Year);
}
//get collaborators
var collaborators = _userLogic.GetCollaboratorsForVehicle(vehicleId);
viewModel.Collaborators = collaborators;
return PartialView("_Report", viewModel);
}
[HttpGet]