-
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.
Kullanıcı güncelleme yapıldı(rolle birlikte )
- Loading branch information
1 parent
654183c
commit a8b1d9a
Showing
48 changed files
with
142 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Entities.Dtos{ | ||
public record UserDtoForUpdate:UserDto | ||
{ | ||
public HashSet<string> UserRoles { get; set; }=new HashSet<string>(); | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
Entities/obj/Debug/net6.0/Entities.csproj.CoreCompileInputs.cache
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 +1 @@ | ||
9914c797cf9917450009e49555ce84791feb214a | ||
54b68fabd0ddbf00e9e3ca968ad4d1cb2174c4b8 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Repositories/obj/Debug/net6.0/Repositories.csproj.AssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Services/obj/Debug/net6.0/Services.csproj.AssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
@model UserDtoForUpdate | ||
|
||
<div class="text-center my-5"> | ||
<div class="display-6 my-4">Update (@Model.UserName)</div> | ||
</div> | ||
|
||
<form method="post" asp-action="Update"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<div class="form-group my-3"> | ||
<label asp-for="UserName"></label> | ||
<input asp-for="UserName" class="form-control" /> | ||
</div> | ||
|
||
<div class="form-group my-3"> | ||
<label asp-for="Email"></label> | ||
<input asp-for="Email" class="form-control" /> | ||
</div> | ||
|
||
<div class="form-group my-3"> | ||
<label asp-for="PhoneNumber"></label> | ||
<input asp-for="PhoneNumber" class="form-control" /> | ||
</div> | ||
|
||
<div class="form-group my-3"> | ||
<div class="btn-group d-flex justify-content-end"> | ||
<input type="submit" class="btn btn-primary" value="Submit" /> | ||
<a asp-action="Index" class="btn btn-outline-primary"> | ||
<i class="fa fa-solid fa-arrow-left"></i> | ||
Back | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="col-md-6"> | ||
<div class="lead p-2 mt-2"> | ||
Roles | ||
@foreach (var item in Model.Roles) | ||
{ | ||
<div class="form-check my-2"> | ||
<input type="checkbox" name="Roles" value="@item" checked="@(Model.UserRoles.Contains(@item))" class="form-check-input" /> | ||
<label class="form-check-label">@item</label> | ||
</div> | ||
} | ||
</div> | ||
<div class="text-muted"> | ||
Please choose the roles for the user | ||
</div> | ||
</div> | ||
</div> | ||
</form> |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Binary file modified
BIN
+380 Bytes
(100%)
StoreApp/obj/Debug/net6.0/StoreApp.csproj.AssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
Binary file not shown.