public async Task <IActionResult> GetAllEmployees() { Console.WriteLine("Controller: Get all emploees"); await Db.Connection.OpenAsync(); var query = new DatabaseQuery(Db); var result = await query.AllEmployees(); return(new OkObjectResult(result)); }