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

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

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