Started implementing server service and daemon controllers
This commit is contained in:
@@ -92,8 +92,9 @@ public class ServersController : Controller
|
||||
.Include(x => x.Variables)
|
||||
.Include(x => x.Star)
|
||||
.AsNoTracking()
|
||||
.Where(x => x.Id == id)
|
||||
.ProjectToAdminResponse()
|
||||
.FirstOrDefaultAsync(x => x.Id == id);
|
||||
.FirstOrDefaultAsync();
|
||||
|
||||
if (server == null)
|
||||
return Problem("No server with that id found", statusCode: 404);
|
||||
|
||||
Reference in New Issue
Block a user