Esempio n. 1
0
 public async Task <bool> Delete(HirePoint entity)
 {
     _db.HirePoints.Remove(entity);
     return(await Save());
 }
Esempio n. 2
0
 public async Task <bool> Update(HirePoint entity)
 {
     _db.HirePoints.Update(entity);
     return(await Save());
 }
Esempio n. 3
0
        public async Task <bool> Create(HirePoint entity)
        {
            await _db.HirePoints.AddAsync(entity);

            return(await Save());
        }