refactor(UserRepCreateDto): Die Eigenschaften validFrom und validTo wurden zu not-null.
This commit is contained in:
parent
c73b299e3e
commit
36c55b6382
@ -100,6 +100,8 @@ export class UserRepresentationComponent extends BasePageComponent implements Af
|
||||
userId: this.slUserId,
|
||||
groupId: this.slGroupId,
|
||||
repUserId: this.slRepUserId,
|
||||
validFrom: new Date(),
|
||||
validTo: new Date(new Date().setDate(new Date().getDate() + 7)) //after one week
|
||||
}
|
||||
this.userRepService.create(newUserRep).subscribe({
|
||||
next: (response) => {
|
||||
|
||||
@ -7,7 +7,7 @@ namespace DigitalData.UserManager.Application.DTOs.UserRep
|
||||
int? RepGroupId,
|
||||
int? GroupId,
|
||||
int? RepUserId,
|
||||
DateTime? ValidFrom,
|
||||
DateTime? ValidTo
|
||||
DateTime ValidFrom,
|
||||
DateTime ValidTo
|
||||
) : BaseCreateDto();
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user