Пример #1
0
        public static async Task <List <Holding> > GetHoldingByEmployeeId(string employeeId)
        {
            var holdings = await HoldingDataAccess.GetHoldingByEmployeeId(employeeId);

            return(holdings);
        }
Пример #2
0
        public static async Task <Holding> GetHolding(string id)
        {
            var holding = await HoldingDataAccess.GetHoldingById(id);

            return(holding);
        }
Пример #3
0
        public static Task <List <Holding> > GetAllHoldings()
        {
            var holdings = HoldingDataAccess.GetAllHoldings();

            return(holdings);
        }
Пример #4
0
 public async static Task DeleteHolding(string id)
 {
     await HoldingDataAccess.DeleteData(id);
 }
Пример #5
0
 public async static Task UpdateHolding(Holding holding)
 {
     await HoldingDataAccess.UpdateData(holding);
 }
Пример #6
0
 public async static Task InsertHolding(Holding holding)
 {
     await HoldingDataAccess.InsertData(holding);
 }