Merge branch 'main' of https://github.com/cnbjjj/ProductManagementSystem #10
Annotations
11 warnings
|
ProductManagement.Models/Product.cs#L14
Non-nullable property 'title' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
ProductManagement.Models/Product.cs#L19
Non-nullable property 'category' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
ProductManagement.DAL/ProductDAL.cs#L38
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.
|
ProductManagement.DAL/ProductDAL.cs#L45
Possible null reference return.
|
ProductManagement/Controllers/ProductController.cs#L21
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.
|
ProductManagement/Controllers/ProductController.cs#L82
Possible null reference argument for parameter 'product' in 'Task ProductService.DeleteProductAsync(Product product)'.
|
ProductManagement/Controllers/ProductController.cs#L90
Converting null literal or possible null value to non-nullable type.
|
ProductManagement/Controllers/ProductController.cs#L111
Converting null literal or possible null value to non-nullable type.
|
ProductManagement.Models/Product.cs#L14
Non-nullable property 'title' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
ProductManagement.Models/Product.cs#L19
Non-nullable property 'category' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
This job succeeded
Loading