sépare le modèle client du serveur, et crée par la même la librairie Yavsc.Api
parent
7632de1673
commit
95c694b5e2
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Yavsc.Api",
|
||||
"version": "0.0.0",
|
||||
"devDependencies": {
|
||||
"gulp": "^3.9.0"
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": "1.0.0-*",
|
||||
"description": "Api Class Library",
|
||||
"authors": [ "Class Library template" ],
|
||||
"tags": [""],
|
||||
"projectUrl": "",
|
||||
"licenseUrl": "",
|
||||
"tooling": {
|
||||
"defaultNamespace": "Yavsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"EntityFramework.Commands": "7.0.0-rc1-*",
|
||||
"EntityFramework.Core": "7.0.0-rc1-*",
|
||||
"EntityFramework.MicrosoftSqlServer": "7.0.0-rc1-*",
|
||||
"EntityFramework.Relational": "7.0.0-rc1-*",
|
||||
"EntityFramework7.Npgsql": "3.1.0-*",
|
||||
"EntityFramework7.Npgsql.Design": "3.1.0-*",
|
||||
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-rc1-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yavsc.Interfaces {
|
||||
|
||||
public interface IDataStore<T> {
|
||||
|
||||
Task StoreAsync (string key, T value);
|
||||
|
||||
Task DeleteAsync (string key);
|
||||
|
||||
Task<T> GetAsync (string key);
|
||||
|
||||
Task ClearAsync ();
|
||||
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
|
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue