using GestionIntegral.Api.Models.Distribucion; using System.Collections.Generic; using System.Threading.Tasks; namespace GestionIntegral.Api.Data.Repositories.Distribucion { public interface IZonaRepository { Task> GetAllAsync(string? nombreFilter, string? descripcionFilter, bool soloActivas = true); Task GetByIdAsync(int id, bool soloActivas = true); Task CreateAsync(Zona nuevaZona, int idUsuario); Task UpdateAsync(Zona zonaAActualizar, int idUsuario); Task SoftDeleteAsync(int id, int idUsuario); // Cambiado de DeleteAsync a SoftDeleteAsync Task ExistsByNameAsync(string nombre, int? excludeId = null, bool soloActivas = true); Task IsInUseAsync(int id); } }