Esempio n. 1
0
        public ResultObj <List <CommonDic> > GetCabinetByMachineId(string machineId)
        {
            ICabinet cabinetService = new CabinetService();
            var      cabinetList    = cabinetService.GetCabinetByMachineId(machineId);

            return(Content(cabinetList));
        }
Esempio n. 2
0
        public ResultObj <List <CabinetConfigModel> > GetCabinetByMachineTypeId(string machineTypeId)
        {
            ICabinet cabinetService = new CabinetService();
            var      cabinetList    = cabinetService.GetCabinetByMachineTypeId(machineTypeId);

            return(Content(cabinetList));
        }
Esempio n. 3
0
 public void Setup()
 {
     _cabinetService = new CabinetService(Context);
 }
Esempio n. 4
0
 public CabineteController(CabineteMapper mapper,
                           CabinetService crudService)
     : base(mapper, crudService)
 {
 }