public static async Task <List <Holding> > GetHoldingByEmployeeId(string employeeId) { var holdings = await HoldingDataAccess.GetHoldingByEmployeeId(employeeId); return(holdings); }
public static async Task <Holding> GetHolding(string id) { var holding = await HoldingDataAccess.GetHoldingById(id); return(holding); }
public static Task <List <Holding> > GetAllHoldings() { var holdings = HoldingDataAccess.GetAllHoldings(); return(holdings); }
public async static Task DeleteHolding(string id) { await HoldingDataAccess.DeleteData(id); }
public async static Task UpdateHolding(Holding holding) { await HoldingDataAccess.UpdateData(holding); }
public async static Task InsertHolding(Holding holding) { await HoldingDataAccess.InsertData(holding); }