add new
This commit is contained in:
13
RS_system/Services/IEstadoArticuloService.cs
Normal file
13
RS_system/Services/IEstadoArticuloService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user