public Index(IPortForwardingService portForwardingService) { _portForwardingService = portForwardingService; }
public CreatePortForwardingModel(IPortForwardingService portForwardingService) { _portForwardingService = portForwardingService; }
public static async Task<Dictionary<string, PortForwarding>> GetPortForwardingDictionary(this IPortForwardingService portForwardingService) { return (await portForwardingService.GetAll()) .ToDictionary(p => p.Id); }
public DeletePortForwarding(IPortForwardingService portForwardingService) { _portForwardingService = portForwardingService; }
public EditPortForwardingModel(IPortForwardingService portForwardingService) { _portForwardingService = portForwardingService; }