fighting weird bug with branches

This commit is contained in:
QkoSad
2025-07-12 10:50:44 +03:00
parent d0ea12ff8c
commit e11af3ad2a
27 changed files with 1458 additions and 1 deletions
+30
View File
@@ -0,0 +1,30 @@
using System.Net;
namespace Server;
public class UpdateEducation : UpdateRoute
{
public static void HandleRequest(HttpListenerRequest request, HttpListenerResponse response)
{
List<string> validParamNames =
[
"school",
"degree",
"field",
"from_date",
"to_date",
"description",
"id",
];
try
{
UpdateDb(request, "education", validParamNames, true);
SendSuccess(response);
}
catch (Exception ex)
{
SendError(response, ex);
}
}
}