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)); } }