public async Task <EmployeeDetails> Find(FindEmployee query) { var e = await db.Employees .Include(emp => emp.Dependents) .FirstOrDefaultAsync(emp => emp.Id == query.Id); return(e == null ? null : BLL.Conversion.toDetails(e)); }