mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 14:38:43 +00:00
Ver 3
This commit is contained in:
@@ -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