public ResultObj <List <CommonDic> > GetCabinetByMachineId(string machineId) { ICabinet cabinetService = new CabinetService(); var cabinetList = cabinetService.GetCabinetByMachineId(machineId); return(Content(cabinetList)); }
public ResultObj <List <CabinetConfigModel> > GetCabinetByMachineTypeId(string machineTypeId) { ICabinet cabinetService = new CabinetService(); var cabinetList = cabinetService.GetCabinetByMachineTypeId(machineTypeId); return(Content(cabinetList)); }
public void Setup() { _cabinetService = new CabinetService(Context); }
public CabineteController(CabineteMapper mapper, CabinetService crudService) : base(mapper, crudService) { }