nameserver type fix.
This commit is contained in:
@@ -5,7 +5,8 @@ using System;
|
||||
public class Nameserver {
|
||||
public int Id { get; }
|
||||
public string Name { get; }
|
||||
public string[] NameSevers { get; }
|
||||
public string[] NameServers { get; }
|
||||
public string Description { get; }
|
||||
public string Permissions { get; }
|
||||
public DateTime? EditDate { get; }
|
||||
|
||||
@@ -13,12 +14,14 @@ public class Nameserver {
|
||||
int id,
|
||||
string name,
|
||||
string nameServers,
|
||||
string description,
|
||||
string permissions,
|
||||
DateTime? editDate
|
||||
) {
|
||||
this.Id = id;
|
||||
this.Name = name;
|
||||
this.NameSevers = nameServers.Split(';');
|
||||
this.NameServers = nameServers.Split(new char[] {';'});
|
||||
this.Description = description;
|
||||
this.Permissions = permissions;
|
||||
this.EditDate = editDate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user