|
@@ -70,7 +70,7 @@ namespace InABox.Core
|
|
|
|
|
|
public bool Process(IEnumerable<TPostable> posts)
|
|
public bool Process(IEnumerable<TPostable> posts)
|
|
{
|
|
{
|
|
- var list = posts.ToList();
|
|
|
|
|
|
+ var list = posts.AsList();
|
|
if(list.Any(x => x.PostedStatus == PostedStatus.Posted))
|
|
if(list.Any(x => x.PostedStatus == PostedStatus.Posted))
|
|
{
|
|
{
|
|
throw new RepostedException();
|
|
throw new RepostedException();
|