Fix
This commit is contained in:
@@ -255,19 +255,10 @@ namespace Step.Database.Controllers
|
||||
|
||||
return tools;
|
||||
}
|
||||
|
||||
public List<DTONcShankModel> GetAvailableShanks()
|
||||
{
|
||||
List<DTONcShankModel> dtoShanks = GetShanksWithSpace()
|
||||
.Where(x => x.MagazineId == null)
|
||||
.ToList();
|
||||
|
||||
return dtoShanks;
|
||||
}
|
||||
|
||||
|
||||
public List<DTONcShankModel> GetAvailableShanksWithChilds()
|
||||
{
|
||||
List<DTONcShankModel> dtoShanks = GetShanks()
|
||||
List<DTONcShankModel> dtoShanks = GetShanksWithSpace()
|
||||
.Where(x => x.MagazineId == null && x.ChildsTools.Count > 0)
|
||||
.ToList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user