public Table GetTable(int tableId) { Table e = null; dal.GetTable(tableId, rd => { e = rd.ToEntity <Table>(); }); return(e); }