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 })); }
public int WaerhouseAdd(PDD.Core.Model.Warehouse warehouse) { int i = 0; i += _warehouseRepository.WaerhouseAdd(warehouse); return(i); }
public IActionResult WaerhouseUpt(PDD.Core.Model.Warehouse warehouse) { int i = _warehouseRepository.WaerhouseUpt(warehouse); return(Ok(i)); }