Exemplo n.º 1
0
 public MessageResult AddStockInfo(StockStoreInfoApi stockStoreInfoApi)
 {
     try
     {
         var result = stockBLL.AddStockInfo(stockStoreInfoApi.stockStoreInfoModel, stockStoreInfoApi.stockGoodsList);
         return(MessageResult.Success(result, result));
     }
     catch (Exception ex)
     {
         return(MessageResult.Fail(ex.Message));
     }
 }