Skip to content

Changed a pi url

Changed a pi url #32

Triggered via pull request July 5, 2024 11:26
Status Success
Total duration 42s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: CheckDrive.Web/CheckDrive.Web/Controllers/ErrorController.cs#L23
'ErrorController.Unauthorized()' hides inherited member 'ControllerBase.Unauthorized()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build: CheckDrive.Web/CheckDrive.Web/Controllers/ErrorController.cs#L33
'ErrorController.NotFound()' hides inherited member 'ControllerBase.NotFound()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
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/OperatorReviewsController.cs#L42
Possible null reference argument for parameter 'source' in 'IEnumerable<<anonymous type: int Id, string OperatorName, string DriverName, double? OilAmount, DateTime? Date, string Comments, string Status>> Enumerable.Select<OperatorReviewDto, <anonymous type: int Id, string OperatorName, string DriverName, double? OilAmount, DateTime? Date, string Comments, string Status>>(IEnumerable<OperatorReviewDto> source, Func<OperatorReviewDto, <anonymous type: int Id, string OperatorName, string DriverName, double? OilAmount, DateTime? Date, string Comments, string Status>> selector)'.
build: CheckDrive.Web/CheckDrive.Web/Controllers/OperatorReviewsController.cs#L99
Possible null reference argument for parameter 'source' in 'OperatorDto? Enumerable.FirstOrDefault<OperatorDto>(IEnumerable<OperatorDto> source)'.
build: CheckDrive.Web/CheckDrive.Web/Controllers/OperatorReviewsController.cs#L103
Dereference of a possibly null reference.
build: CheckDrive.Web/CheckDrive.Web/Controllers/OperatorReviewsController.cs#L110
Possible null reference argument for parameter 'source' in 'IEnumerable<int> Enumerable.Select<MechanicHandoverDto, int>(IEnumerable<MechanicHandoverDto> source, Func<MechanicHandoverDto, int> selector)'.
build: CheckDrive.Web/CheckDrive.Web/Controllers/OperatorReviewsController.cs#L114
Possible null reference argument for parameter 'source' in 'IEnumerable<int> Enumerable.Select<OperatorReviewDto, int>(IEnumerable<OperatorReviewDto> source, Func<OperatorReviewDto, int> selector)'.
build: CheckDrive.Web/CheckDrive.Web/Controllers/OperatorReviewsController.cs#L171
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/OperatorReviewsController.cs#L288
Possible null reference argument for parameter 'source' in 'IEnumerable<SelectListItem> Enumerable.Select<DriverDto, SelectListItem>(IEnumerable<DriverDto> source, Func<DriverDto, SelectListItem> selector)'.