// Obter todas as categorias public List <Category> GetCategories() { return(ReadOperations.GetAllWithChildren <Category>(sqliteconnection)); }
public List <Department> GetAllDepartment() { return(ReadOperations.GetAllWithChildren <Department>(connection, recursive: true).ToList()); }
// Obter todos os produtos public List <Product> GetProductList() { // using SQLite Extensions to solve relations return(ReadOperations.GetAllWithChildren <Product>(sqliteconnection)); }
public List <User> GetUsersAsync() { //return db.Table<Question>().ToListAsync(); return(ReadOperations.GetAllWithChildren <User>(db)); }