removed conflicting variable

This commit is contained in:
MiskolcziRichard
2024-04-29 11:31:55 +02:00
parent 405aa58176
commit 081a31aadc

View File

@@ -9,13 +9,9 @@ namespace WD7UVN_SzTGUI_2023242.Client.WPF
/// </summary> /// </summary>
public partial class GetAllServices : Window public partial class GetAllServices : Window
{ {
public RestCollection<Service> Services { get; }
public GetAllServices() public GetAllServices()
{ {
InitializeComponent(); InitializeComponent();
Services = new RestCollection<Service>("http://localhost:5000/", "api/Service");
} }
private void CreateNewService(object sender, RoutedEventArgs e) private void CreateNewService(object sender, RoutedEventArgs e)