Files
RS_System/RS_system/Services/IUbicacionService.cs
2026-02-01 14:28:17 -06:00

14 lines
386 B
C#

using Rs_system.Models;
namespace Rs_system.Services;
public interface IUbicacionService
{
Task<IEnumerable<Ubicacion>> GetAllAsync();
Task<Ubicacion?> GetByIdAsync(int id);
Task<bool> CreateAsync(Ubicacion ubicacion);
Task<bool> UpdateAsync(Ubicacion ubicacion);
Task<bool> DeleteAsync(int id);
Task<bool> ExistsAsync(string nombre, int? excludeId = null);
}