mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
Ver 3
This commit is contained in:
1 parent
a6e8bed31d
commit
eb323e8bf8
69 files changed
+6532
-3371
No files matched your search
@@ -36,7 +36,7 @@ namespace Esiur.Stores.MongoDB
|
||||
public class MongoDBStore<T> : MongoDBStore where T:IResource
|
||||
{
|
||||
[Export]
|
||||
public async AsyncReply<T> New(string name = null, object properties = null)
|
||||
public async AsyncReply<T> New(string name = null, Map<string, object> properties = null)
|
||||
{
|
||||
var resource = Instance.Warehouse.Create<T>(properties);
|
||||
await Instance.Warehouse.Put(this.Instance.Name + "/" + name, resource);
|
||||
|
||||
Reference in new issue
Block a user