Skip to content

update files

update files #19

Triggered via push March 4, 2024 01:18
Status Failure
Total duration 28s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
build: Exam.StockManagement.API/Controllers/ProductController.cs#L23
'IProductService' does not contain a definition for 'GetAllQuantity' and no accessible extension method 'GetAllQuantity' accepting a first argument of type 'IProductService' could be found (are you missing a using directive or an assembly reference?)
build: Exam.StockManagement.API/Controllers/ProductController.cs#L39
Argument 1: cannot convert from 'Exam.StockManagement.Domain.Entities.Models.Product' to 'Exam.StockManagement.Domain.Entities.DTOs.ProductDTO'
build: Exam.StockManagement.API/Controllers/ProductController.cs#L23
'IProductService' does not contain a definition for 'GetAllQuantity' and no accessible extension method 'GetAllQuantity' accepting a first argument of type 'IProductService' could be found (are you missing a using directive or an assembly reference?)
build: Exam.StockManagement.API/Controllers/ProductController.cs#L39
Argument 1: cannot convert from 'Exam.StockManagement.Domain.Entities.Models.Product' to 'Exam.StockManagement.Domain.Entities.DTOs.ProductDTO'
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: Exam.StockManagement.Domain/Entities/ViewModels/UserViewModel.cs#L7
Non-nullable property 'Role' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/Models/User.cs#L9
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/Models/Stats.cs#L12
Non-nullable property 'Product' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/Models/Product.cs#L7
Non-nullable property 'ProductName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/Models/Product.cs#L10
Non-nullable property 'ProductDescription' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/Models/Product.cs#L11
Non-nullable property 'ProductPicture' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/Models/Product.cs#L13
Non-nullable property 'Category' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/Models/Category.cs#L6
Non-nullable property 'CategoryName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/DTOs/UserDTO.cs#L7
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Exam.StockManagement.Domain/Entities/DTOs/UserDTO.cs#L8
Non-nullable property 'Role' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.