public Share CreateShare(string name, string path) { Share share = new Share(); share.Name = name; share.Path = path; Post<Share>("/platform/1/protocols/smb/shares/", share); share = GetSMBShare(name)[0]; return share; }
// move to share class? public void ModifyShare(Share share) { Put<Share>("platform/1/protocols/smb/shares", share); }