using SteUp.Shared.Core.Entities; namespace SteUp.Shared.Core.Interface.LocalDb; public interface IIspezioniService { // ISPEZIONI Task GetIspezioneAsync(string codMdep, DateOnly data, string rilevatore); Task> GetAllIspezioniWithSchedeAsync(); Task AddIspezioneAsync(Ispezione ispezione); Task GetOrCreateIspezioneAsync(string codMdep, DateOnly data, string rilevatore); Task UpdateIspezioneAsync(Ispezione ispezione); Task DeleteIspezioneAsync(string codMdep, DateOnly data, string rilevatore); // SCHEDE Task AddSchedaAsync(string codMdep, DateOnly data, string rilevatore, Scheda scheda); Task> GetAllSchedeOfIspezioneAsync(string codMdep, DateOnly data, string rilevatore); Task GetSchedaAsync(int schedaId); Task GetSchedaWithIspezioneAsync(int schedaId); Task UpdateSchedaAsync(Scheda scheda); Task DeleteSchedaAsync(int schedaId); Task DeleteAllSchedeOfIspezioneAsync(string codMdep, DateOnly data, string rilevatore); }