public ActionResult Add(string pkgId) { var model = new AddPackageModel { PackageName = pkgId }; return(View(model)); }
public IActionResult AddPackages([FromQuery] int projectId, [FromQuery] int numberOfPackages) { var addPackageModel = new AddPackageModel() { projectId = projectId, numberOfPackages = numberOfPackages }; return(View(addPackageModel)); }
public async Task <ActionResult> AddGeneral(AddPackageModel model) { return(await AddGeneralPackageImpl(model.PackageName, model.GeneralPackage, InstallationPackageType.General)); }
public async Task <ActionResult> AddQube70(AddPackageModel model) { return(await AddQube(model.PackageName, model.QubePackage, InstallationPackageType.Qube70)); }
public async Task <ActionResult> AddDeadline10(AddPackageModel model) { return(await AddGeneralPackageImpl(model.GeneralPackage, InstallationPackageType.Deadline10)); }