Add logout buttun for all personal pages #23
Annotations
10 warnings
build:
CheckDrive.Web/CheckDrive.Web/Controllers/OperatorsController.cs#L22
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L42
Possible null reference argument for parameter 'source' in 'IEnumerable<<anonymous type: int Id, string IsHanded, string Comments, string Status, DateTime? Date, double Distance, string DriverName, string MechanicName, string CarName, int CarId>> Enumerable.Select<MechanicHandoverDto, <anonymous type: int Id, string IsHanded, string Comments, string Status, DateTime? Date, double Distance, string DriverName, string MechanicName, string CarName, int CarId>>(IEnumerable<MechanicHandoverDto> source, Func<MechanicHandoverDto, <anonymous type: int Id, string IsHanded, string Comments, string Status, DateTime? Date, double Distance, string DriverName, string MechanicName, string CarName, int CarId>> selector)'.
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L73
Possible null reference argument for parameter 'source' in 'IEnumerable<DoctorReviewDto> Enumerable.Where<DoctorReviewDto>(IEnumerable<DoctorReviewDto> source, Func<DoctorReviewDto, bool> predicate)'.
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L95
Possible null reference argument for parameter 'source' in 'MechanicHandoverDto? Enumerable.FirstOrDefault<MechanicHandoverDto>(IEnumerable<MechanicHandoverDto> source, Func<MechanicHandoverDto, bool> predicate)'.
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L133
Dereference of a possibly null reference.
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L164
Possible null reference argument for parameter 'source' in 'MechanicDto Enumerable.First<MechanicDto>(IEnumerable<MechanicDto> source)'.
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L192
The result of the expression is always 'false' since a value of type 'bool' is never equal to 'null' of type 'bool?'
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L281
Possible null reference argument for parameter 'source' in 'IEnumerable<SelectListItem> Enumerable.Select<MechanicDto, SelectListItem>(IEnumerable<MechanicDto> source, Func<MechanicDto, SelectListItem> selector)'.
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L293
Possible null reference argument for parameter 'source' in 'IEnumerable<SelectListItem> Enumerable.Select<CarDto, SelectListItem>(IEnumerable<CarDto> source, Func<CarDto, SelectListItem> selector)'.
|
build:
CheckDrive.Web/CheckDrive.Web/Controllers/MechanicHandoversController.cs#L306
Possible null reference argument for parameter 'source' in 'IEnumerable<SelectListItem> Enumerable.Select<DriverDto, SelectListItem>(IEnumerable<DriverDto> source, Func<DriverDto, SelectListItem> selector)'.
|