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

14 lines
405 B
C#

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