mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 12:17:35 +00:00
parent id fix
This commit is contained in:
@@ -5,4 +5,5 @@ public class CreateGoalDto
|
||||
public string? Title { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public string? Category { get; set; }
|
||||
public Guid? GoalParentId { get; set; }
|
||||
}
|
||||
|
||||
@@ -110,6 +110,7 @@ public class StudentRepository
|
||||
new
|
||||
{
|
||||
p_id_goal = newGoalId.ToString(),
|
||||
p_id_goal_parent = dto.GoalParentId?.ToString(),
|
||||
p_id_student = idStudent.ToString(),
|
||||
p_id_user = userId.ToString(),
|
||||
p_title = dto.Title,
|
||||
|
||||
Reference in New Issue
Block a user