Beispiel #1
0
 /// <summary>
 /// Generic Get() method to retrieve information through id from the database
 /// </summary>
 /// <param name="id">id of the entity being called</param>
 /// <returns>Returns the object entity called to the database</returns>
 public async virtual Task <T> Get(int id)
 {
     return(await _context.FindAsync <T>(id));
 }