using DaSaSo.Domain.Model; using DaSaSo.Domain.Services; using DaSaSo.EntityFramework.Services.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DaSaSo.EntityFramework.Services { public class SewerpointDataService : IDataService { private readonly DaSaSoDbContextFactory _contextFactory; private readonly NonQueryDataService _nonQueryDataService; public SewerpointDataService(DaSaSoDbContextFactory contextFactory) { _contextFactory = contextFactory; _nonQueryDataService = new NonQueryDataService(contextFactory); } public async Task Create(SewerPoint entity) { return await _nonQueryDataService.Create(entity); } public SewerPoint CreateNonAsync(SewerPoint entity) { throw new NotImplementedException(); } public async Task Delete(int id) { return await _nonQueryDataService.Delete(id); } public Task Get(int id) { throw new NotImplementedException(); } public Task> GetAll() { throw new NotImplementedException(); } public async Task Update(int id, SewerPoint entity) { return await _nonQueryDataService.Update(id, entity); } } }