- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
mId = core.Material.Materials.FirstOrDefault(x => x.Value.article == m.article && x.Value.title == m.title && x.Value.category_id == m.category_id).Key;
if (mId == 0)
mId = core.Material.Materials.FirstOrDefault(x => x.Value.article == m.article && x.Value.title == m.title).Key;
if (mId == 0)
mId = core.Material.Materials.FirstOrDefault(x => x.Value.article == m.article && x.Value.category_id == m.category_id).Key;
if (mId == 0)
mId = core.Material.Materials.FirstOrDefault(x => x.Value.title == m.title && x.Value.category_id == m.category_id).Key;
if (mId == 0)
mId = core.Material.Materials.FirstOrDefault(x => x.Value.article == m.article).Key;
if (mId == 0)
mId = core.Material.Materials.FirstOrDefault(x => x.Value.title == m.title).Key;
Follow us!