public tbl_module getModuleByType(moduleType moduleType, int langId) { return db.tbl_module.Where(a => a.typeId == (int)moduleType && a.langId == langId).FirstOrDefault(); }
public Module(moduleType type, int emplacementX, int emplacementY) //modif thomas { this.emplacementX = emplacementX; //modif thomas this.emplacementY = emplacementY; //modif thomas this.type = type; }