diff --git a/NotaionWebApp/Notaion/Controllers/ApiAccountController.cs b/NotaionWebApp/Notaion/Controllers/ApiAccountController.cs index 0900f03..d4fb30b 100644 --- a/NotaionWebApp/Notaion/Controllers/ApiAccountController.cs +++ b/NotaionWebApp/Notaion/Controllers/ApiAccountController.cs @@ -34,7 +34,7 @@ public AccountsController(IAccountRepository repo, UserManager userManager } - [HttpGet("get-users-demo-jenkins-cicd-monster-asp")] + [HttpGet("get-users-demo-jenkins-cicd-ngrox-8080")] public async Task GetAllUser() { var user = await _context.User. diff --git a/NotaionWebApp/Notaion/Controllers/ChatPrivateController.cs b/NotaionWebApp/Notaion/Controllers/ChatPrivateController.cs index c23f655..5b6a3c3 100644 --- a/NotaionWebApp/Notaion/Controllers/ChatPrivateController.cs +++ b/NotaionWebApp/Notaion/Controllers/ChatPrivateController.cs @@ -67,11 +67,13 @@ public async Task GetChatsPrivate(string currentUserId, string fr [HttpPost("add-chat-private")] public async Task AddChat([FromBody] ChatPrivateViewModel chatViewModel) { + var vietnamTimeZone = TimeZoneInfo.FindSystemTimeZoneById("SE Asia Standard Time"); + var vietnamTime = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, vietnamTimeZone); var chatPrivate = new ChatPrivate { Id = Guid.NewGuid().ToString(), Content = chatViewModel.Content, - SentDate = DateTime.UtcNow, + SentDate = vietnamTime, Sender = chatViewModel.SenderId, Receiver = chatViewModel.ReceiverId, Hide = false, diff --git a/NotaionWebApp/Notaion/Notaion.csproj.user b/NotaionWebApp/Notaion/Notaion.csproj.user index cc2ad86..fc92c22 100644 --- a/NotaionWebApp/Notaion/Notaion.csproj.user +++ b/NotaionWebApp/Notaion/Notaion.csproj.user @@ -4,7 +4,7 @@ https ApiControllerEmptyScaffolder root/Common/Api - T:\chat-console\NotaionWebApp\Notaion\Properties\PublishProfiles\site8642-WebDeploy.pubxml + T:\notaion-backend\NotaionWebApp\Notaion\Properties\PublishProfiles\FolderProfile1.pubxml 650 True False diff --git a/NotaionWebApp/Notaion/Properties/PublishProfiles/FolderProfile1.pubxml b/NotaionWebApp/Notaion/Properties/PublishProfiles/FolderProfile1.pubxml new file mode 100644 index 0000000..3cbcb59 --- /dev/null +++ b/NotaionWebApp/Notaion/Properties/PublishProfiles/FolderProfile1.pubxml @@ -0,0 +1,17 @@ + + + + + false + false + true + Release + Any CPU + FileSystem + T:\IIS_NOTAION + FileSystem + <_TargetId>Folder + + \ No newline at end of file diff --git a/NotaionWebApp/Notaion/Properties/PublishProfiles/FolderProfile1.pubxml.user b/NotaionWebApp/Notaion/Properties/PublishProfiles/FolderProfile1.pubxml.user new file mode 100644 index 0000000..0c5bacb --- /dev/null +++ b/NotaionWebApp/Notaion/Properties/PublishProfiles/FolderProfile1.pubxml.user @@ -0,0 +1,11 @@ + + + + + <_PublishTargetUrl>T:\IIS_NOTAION + True|2024-10-12T13:44:23.3664909Z||; + + + \ No newline at end of file diff --git a/NotaionWebApp/Notaion/Properties/PublishProfiles/MONSTERASP.pubxml.user b/NotaionWebApp/Notaion/Properties/PublishProfiles/MONSTERASP.pubxml.user index 5bcd661..aec81d7 100644 --- a/NotaionWebApp/Notaion/Properties/PublishProfiles/MONSTERASP.pubxml.user +++ b/NotaionWebApp/Notaion/Properties/PublishProfiles/MONSTERASP.pubxml.user @@ -7,7 +7,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA45ACkv6Ev0Gy7utx8HyVkgAAAAACAAAAAAAQZgAAAAEAACAAAADt6gGmRVIjnbaiDax3F93mlKpIeUhVHT+QNfCxsVogcQAAAAAOgAAAAAIAACAAAADd23XUu4vTiBfFcWV/DKkdqwDLyT/QpDdUocDeWnTaqyAAAAC3jLstCUJ56wUbjH02t5at+elzIe7YE9T9sS7wPrsWFEAAAACWCjF91STA35xM3gqt0vIo2/z72VVCVcQowDBOHGGqnv1E6JahVYXCJS2V49eGWUue6rcUlCVXuwrs0uKnlSAJ - True|2024-09-30T04:31:19.9416300Z||;True|2024-09-29T22:14:09.2891238+07:00||;True|2024-09-29T22:05:05.4207831+07:00||;False|2024-09-29T22:03:26.0452715+07:00||;True|2024-09-29T21:48:51.3330803+07:00||; + False|2024-10-08T10:10:32.8934697Z||;True|2024-09-30T11:31:19.9416300+07:00||;True|2024-09-29T22:14:09.2891238+07:00||;True|2024-09-29T22:05:05.4207831+07:00||;False|2024-09-29T22:03:26.0452715+07:00||;True|2024-09-29T21:48:51.3330803+07:00||; \ No newline at end of file diff --git a/NotaionWebApp/Notaion/Properties/PublishProfiles/site8642-WebDeploy1.pubxml b/NotaionWebApp/Notaion/Properties/PublishProfiles/site8642-WebDeploy1.pubxml new file mode 100644 index 0000000..c0aefeb --- /dev/null +++ b/NotaionWebApp/Notaion/Properties/PublishProfiles/site8642-WebDeploy1.pubxml @@ -0,0 +1,25 @@ + + + + + MSDeploy + Release + Any CPU + http://notaion.runasp.net/ + true + false + ef90ac04-f263-48d1-ac7f-50e4d835e8d6 + site8642.siteasp.net + site8642 + + true + WMSVC + true + true + site8642 + <_SavePWD>true + + \ No newline at end of file diff --git a/NotaionWebApp/Notaion/Properties/PublishProfiles/site8642-WebDeploy1.pubxml.user b/NotaionWebApp/Notaion/Properties/PublishProfiles/site8642-WebDeploy1.pubxml.user new file mode 100644 index 0000000..450fe0d --- /dev/null +++ b/NotaionWebApp/Notaion/Properties/PublishProfiles/site8642-WebDeploy1.pubxml.user @@ -0,0 +1,13 @@ + + + + + + AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA45ACkv6Ev0Gy7utx8HyVkgAAAAACAAAAAAAQZgAAAAEAACAAAABSm0dADuKEoSXI2PM3/C+djjsZNaNJvaNktK2zzOh0ZQAAAAAOgAAAAAIAACAAAAAaubSe329ikteIzbdUehSGkeEFWcMirIFoj/tBJlG3PCAAAAAaOwJII3B0tuPaPOzYnGrfQAgIQnX5FDaCdhlVr8BQDEAAAADxwckrnekLCzuMBtAKkP1cCWMOulRqdqFNLxcPxe9HXD/Y0JACDx7eUDw/7grdO/SQQKIkbvxPSZZdbFnGYkiS + True|2024-10-08T10:12:03.4740526Z||; + + + \ No newline at end of file