Refactor DishesController and AddResturantDTO #80
Annotations
10 warnings
build:
src/Actions/Commands/AddDish/AddDishCommandHandler.cs#L23
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:
src/Actions/Commands/UpdateResturant/UpdateResturantCommand.cs#L8
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/Actions/Commands/UpdateResturant/UpdateResturantCommand.cs#L9
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/Actions/Commands/UpdateResturant/UpdateResturantCommand.cs#L10
Non-nullable property 'Category' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/Actions/Commands/AddResturant/AddResturantCommand.cs#L7
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/Actions/Commands/AddResturant/AddResturantCommand.cs#L8
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/Actions/Commands/AddResturant/AddResturantCommand.cs#L9
Non-nullable property 'Category' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/Domains/DTOs/UpdateResturantDTO.cs#L5
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/Domains/DTOs/UpdateResturantDTO.cs#L6
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/Domains/DTOs/UpdateResturantDTO.cs#L7
Non-nullable property 'Category' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|