/// <summary> /// Search package with given barcode and the given stock type /// </summary> /// <param name="barCode">Barcode of Package to be found</param> /// <param name="stockType">Package should have given status</param> /// <returns></returns> public Package CheckIfBarcodeExist(int barCode, StockType?stockType) { return(packageDao.CheckIfPackageExist(barCode, stockType)); }