public IEnumerable <RecordViewModel> GetRecords(IEnumerable <Guid> ids) { return(_storageDb.QueryRecords($"Id in ({ids.ToSql()})") .DeepMap <RecordViewModel[]>()); }