Exemple #1
0
        public IActionResult FanT(int id)
        {
            var list = _warehouseRepository.GetWaerhouseList();

            PDD.Core.Model.Warehouse warehouse = list.FirstOrDefault(x => x.Mcid.Equals(id));
            return(Ok(new { msg = "", code = 0, data = warehouse }));
        }
Exemple #2
0
        public int WaerhouseAdd(PDD.Core.Model.Warehouse warehouse)
        {
            int i = 0;

            i += _warehouseRepository.WaerhouseAdd(warehouse);
            return(i);
        }
Exemple #3
0
        public IActionResult WaerhouseUpt(PDD.Core.Model.Warehouse warehouse)
        {
            int i = _warehouseRepository.WaerhouseUpt(warehouse);

            return(Ok(i));
        }