From 19f34ef5a0b88c0585a4d57d2302309e4ddb674d Mon Sep 17 00:00:00 2001 From: Brandon Date: Fri, 1 Mar 2024 10:00:03 -0800 Subject: [PATCH] Fixing missing add date for role membership --- web/Areas/RAPS/Services/RoleMemberService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/web/Areas/RAPS/Services/RoleMemberService.cs b/web/Areas/RAPS/Services/RoleMemberService.cs index 0353174..7b716a2 100644 --- a/web/Areas/RAPS/Services/RoleMemberService.cs +++ b/web/Areas/RAPS/Services/RoleMemberService.cs @@ -30,6 +30,7 @@ public RoleMemberService(RAPSContext context) { RoleId = roleId, MemberId = memberId, + AddDate = DateTime.Now, StartDate = startDate?.ToDateTime(new TimeOnly(0, 0, 0)), EndDate = endDate?.ToDateTime(new TimeOnly(0, 0, 0)), ModTime = DateTime.Now,