Minor fixes
This commit is contained in:
@@ -170,9 +170,12 @@ namespace Step.Database.Controllers
|
||||
.Where(x => ids.Contains(x.Id))
|
||||
.ToList();
|
||||
|
||||
// Find max between families
|
||||
shank.MaxRight = families.Max(x => x.RightSize);
|
||||
shank.MaxLeft = families.Max(x => x.LeftSize);
|
||||
if (families.Count() > 0)
|
||||
{
|
||||
// Find max between families
|
||||
shank.MaxRight = families.Max(x => x.RightSize);
|
||||
shank.MaxLeft = families.Max(x => x.LeftSize);
|
||||
}
|
||||
}
|
||||
|
||||
return dtoShanks;
|
||||
|
||||
Reference in New Issue
Block a user