using AsbCloudApp.Data; using AsbCloudApp.Services; using AsbCloudDb.Model; using AsbCloudInfrastructure.Services.Cache; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudInfrastructure.Services { public class DrillerService : CrudServiceBase, IDrillerService { public DrillerService(IAsbCloudDbContext context) : base(context) { } public async Task DeleteAsync(int id, CancellationToken dto) { return await base.DeleteAsync(id, dto); } public async Task> GetAllAsync(CancellationToken token) { return await base.GetAllAsync(token); } public async Task GetAsync(int id, CancellationToken token) { return await base.GetAsync(id,token) .ConfigureAwait(false); } public async Task InsertAsync(DrillerDto dto, CancellationToken token) { return await base.InsertAsync(dto, token); } public async Task UpdateAsync(int id, DrillerDto dto, CancellationToken token) { return await base.UpdateAsync(id,dto, token); } } }