-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#402) web: update the studnets service
- Loading branch information
1 parent
b5e4ad2
commit 369b84d
Showing
7 changed files
with
84 additions
and
9 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
MiniSpace.Web/src/MiniSpace.Web/Areas/Events/CommandsDto/ViewEventCommand.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
|
||
namespace MiniSpace.Web.Areas.Events.CommandsDto | ||
{ | ||
public class ViewEventCommand | ||
{ | ||
public Guid UserId { get; set; } | ||
public Guid EventId { get; set; } | ||
|
||
public ViewEventCommand(Guid userId, Guid eventId) | ||
{ | ||
UserId = userId; | ||
EventId = eventId; | ||
} | ||
} | ||
} |
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
19 changes: 19 additions & 0 deletions
19
MiniSpace.Web/src/MiniSpace.Web/Areas/Students/CommandsDto/ViewUserProfileCommand.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace MiniSpace.Web.Areas.Students.CommandsDto | ||
{ | ||
public class ViewUserProfileCommand | ||
{ | ||
public Guid UserId { get; } | ||
public Guid UserProfileId { get; } | ||
|
||
public ViewUserProfileCommand(Guid userId, Guid userProfileId) | ||
{ | ||
UserId = userId; | ||
UserProfileId = userProfileId; | ||
} | ||
} | ||
} |
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
16 changes: 16 additions & 0 deletions
16
MiniSpace.Web/src/MiniSpace.Web/DTO/Views/UserProfileViewDto.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace MiniSpace.Web.DTO.Views | ||
{ | ||
public class UserProfileViewDto | ||
{ | ||
public Guid UserProfileId { get; set; } | ||
public DateTime Date { get; set; } | ||
public string IpAddress { get; set; } | ||
public string DeviceType { get; set; } | ||
public string OperatingSystem { get; set; } | ||
} | ||
} |