コード例 #1
0
        public ActionResult Add(string pkgId)
        {
            var model = new AddPackageModel {
                PackageName = pkgId
            };

            return(View(model));
        }
コード例 #2
0
        public IActionResult AddPackages([FromQuery] int projectId, [FromQuery] int numberOfPackages)
        {
            var addPackageModel = new AddPackageModel()
            {
                projectId        = projectId,
                numberOfPackages = numberOfPackages
            };

            return(View(addPackageModel));
        }
コード例 #3
0
 public async Task <ActionResult> AddGeneral(AddPackageModel model)
 {
     return(await AddGeneralPackageImpl(model.PackageName, model.GeneralPackage, InstallationPackageType.General));
 }
コード例 #4
0
 public async Task <ActionResult> AddQube70(AddPackageModel model)
 {
     return(await AddQube(model.PackageName, model.QubePackage, InstallationPackageType.Qube70));
 }
コード例 #5
0
 public async Task <ActionResult> AddDeadline10(AddPackageModel model)
 {
     return(await AddGeneralPackageImpl(model.GeneralPackage, InstallationPackageType.Deadline10));
 }