last ...
This commit is contained in:
@@ -913,7 +913,7 @@ namespace xFileService.Providers
|
|||||||
private int GetLastIndex(TKey providedForId)
|
private int GetLastIndex(TKey providedForId)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
var result = 0;
|
var result = -1;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Validate ...
|
// Validate ...
|
||||||
@@ -935,7 +935,7 @@ namespace xFileService.Providers
|
|||||||
.AsEnumerable();
|
.AsEnumerable();
|
||||||
if (all.IsNull() || !all.HasChild())
|
if (all.IsNull() || !all.HasChild())
|
||||||
{
|
{
|
||||||
result = 0;
|
result = -1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -950,7 +950,7 @@ namespace xFileService.Providers
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
result = 0;
|
result = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user