よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public Tuple <long, WarningPeriod, List <Asset>, List <ProductType> > GetAllWarningPeriodsWithSubs(long warningPeriodID) { WarningPeriod warningPeriod = FindById(warningPeriodID); List <Asset> assets = repositoryAsset.GetAllAssetsOfWarningPeriod(warningPeriodID); List <ProductType> productTypes = repositoryProductType.GetAllProductTypesOfWarningPeriod(warningPeriodID); return(new Tuple <long, WarningPeriod, List <Asset>, List <ProductType> > (warningPeriodID, warningPeriod, assets, productTypes)); }