public async Task <bool> Delete(ServiceNotification entity) { _db.ServiceNotifications.Remove(entity); return(await Save()); }
public async Task <bool> Update(ServiceNotification entity) { _db.ServiceNotifications.Update(entity); return(await Save()); }
public async Task <bool> Create(ServiceNotification entity) { await _db.ServiceNotifications.AddAsync(entity); return(await Save()); }