Exemplo n.º 1
0
        public static async Task <List <Holding> > GetHoldingByEmployeeId(string employeeId)
        {
            var holdings = await HoldingDataAccess.GetHoldingByEmployeeId(employeeId);

            return(holdings);
        }
Exemplo n.º 2
0
        public static async Task <Holding> GetHolding(string id)
        {
            var holding = await HoldingDataAccess.GetHoldingById(id);

            return(holding);
        }
Exemplo n.º 3
0
        public static Task <List <Holding> > GetAllHoldings()
        {
            var holdings = HoldingDataAccess.GetAllHoldings();

            return(holdings);
        }
Exemplo n.º 4
0
 public async static Task DeleteHolding(string id)
 {
     await HoldingDataAccess.DeleteData(id);
 }
Exemplo n.º 5
0
 public async static Task UpdateHolding(Holding holding)
 {
     await HoldingDataAccess.UpdateData(holding);
 }
Exemplo n.º 6
0
 public async static Task InsertHolding(Holding holding)
 {
     await HoldingDataAccess.InsertData(holding);
 }