-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
23 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
namespace API.Models.DTOs.Exercise | ||
{ | ||
public record ExerciseCreationDto() : ExerciseManipulationDto; | ||
public record ExerciseCreationDto(string Name, string? Instructions, string MuscleGroup, string EquipmentType) | ||
: ExerciseManipulationDto(Name, Instructions, MuscleGroup, EquipmentType); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
namespace API.Models.DTOs.Exercise | ||
{ | ||
public record ExerciseUpdateDto() : ExerciseManipulationDto; | ||
public record ExerciseUpdateDto(string Name, string? Instructions, string MuscleGroup, string EquipmentType) | ||
: ExerciseManipulationDto(Name, Instructions, MuscleGroup, EquipmentType); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
namespace API.Models.DTOs.Workout | ||
{ | ||
public record WorkoutManipulationDto | ||
{ | ||
public string Name { get; set; } = null!; | ||
public string? Note { get; set; } | ||
} | ||
public record WorkoutManipulationDto(string Name, string? Note); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace API.Models.DTOs.Workout | ||
{ | ||
public record WorkoutUpdateDto() : WorkoutManipulationDto; | ||
public record WorkoutUpdateDto(string Name, string? Note) : WorkoutManipulationDto(Name, Note); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/API/Models/DTOs/WorkoutExerciseSet/WorkoutExerciseSetCreationDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace API.Models.DTOs.WorkoutExerciseSet | ||
{ | ||
public record WorkoutExerciseSetCreationDto() : WorkoutExerciseSetManipulationDto; | ||
public record WorkoutExerciseSetCreationDto : WorkoutExerciseSetManipulationDto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/API/Models/DTOs/WorkoutExerciseSet/WorkoutExerciseSetUpdateDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace API.Models.DTOs.WorkoutExerciseSet | ||
{ | ||
public record WorkoutExerciseSetUpdateDto() : WorkoutExerciseSetManipulationDto; | ||
public record WorkoutExerciseSetUpdateDto : WorkoutExerciseSetManipulationDto; | ||
} |