public DataTable getfunddetails() { DataTable dt = new DataTable(); dt = FundDataAccess.getfunddetails(); return(dt); }
// Refreshes all of the fund prices public async Task RefreshCurrentFundPrices() { List <Fund> fundList; fundList = await FundDataAccess.GetAllFunds(); foreach (Fund fund in fundList) { await RefreshCurrentFundPrices(fund.Ticker, fund.Id); } }
public int UpdateFundDetails() { return(FundDataAccess.UpdateFundDetails(Fundnumber, Fundname)); }
public SqlDataReader getEDITFUNDDETAILS() { return(FundDataAccess.getEDITFUNDDETAILS(Fundnumber)); }
public int DELETEFund() { return(FundDataAccess.DELETEFund(Fundnumber)); }
public int InsertintoFund() { return(FundDataAccess.InsertintoFund(Fundname)); }
public string chkAvailableFundName() { return(FundDataAccess.chkAvailableFundName(Fundname)); }
public static async Task <Fund> GetFund(string id) { var fund = await FundDataAccess.GetFundById(id); return(fund); }
public static Task <List <Fund> > GetAllFunds() { var funds = FundDataAccess.GetAllFunds(); return(funds); }
public async static Task DeleteFund(string id) { await FundDataAccess.DeleteData(id); }
public async static Task UpdateFund(Fund fund) { await FundDataAccess.UpdateData(fund); }
public async static Task InsertFund(Fund fund) { await FundDataAccess.InsertData(fund); }