Implemented basic virtual disk support

This commit is contained in:
2025-06-03 16:43:48 +02:00
parent 2bf56f6963
commit f78e97aff4
8 changed files with 358 additions and 179 deletions

View File

@@ -193,6 +193,8 @@ public class ServersController : Controller
[HttpPatch("{id:int}")]
public async Task<ServerDetailResponse> Update([FromRoute] int id, [FromBody] UpdateServerRequest request)
{
//TODO: Handle shrinking virtual disk
var server = await CrudHelper.GetSingleModel(id);
server = Mapper.Map(server, request);