public static async Task <Package> Execute(string id) { try { await PackageEntity.ValidatePackageId(id); return(await PackageDAO.GetPackage(id)); } catch (Exception e) { throw e; } }
/// <summary> /// Returns specified package? /// </summary> public string GetStudent(long PackageID) // { return(_packageDAO.GetPackage(PackageID)); }