public DbTask() { DbLocal.GetInstance().db.CreateTable <Task>(); }
public int Update(Task t) { return(DbLocal.GetInstance().db.Update(t)); }
public int Insert(Task t) { return(DbLocal.GetInstance().db.Insert(t)); }
public IEnumerable <Task> GetAll() { return(DbLocal.GetInstance().db.Table <Task>()); }
public Task Get(int id) { return(DbLocal.GetInstance().db.Get <Task>(id)); }