Example #1
0
 public IActionResult StartSSH(int id, [FromServices] ISSHService ssh)
 {
     return(AppServiceOrBadRequest(
                id,
                AppServiceTypes.SSH,
                ssh
                ));
 }
Example #2
0
 public VSwitchService(ApplicationDbContext context, ISSHService sshService)
 {
     _context    = context;
     _sshService = sshService;
 }