Ya perdí el hilo de los cambios pero ahi van.
This commit is contained in:
15
Backend/GestionIntegral.Api/Services/Radios/IRitmoService.cs
Normal file
15
Backend/GestionIntegral.Api/Services/Radios/IRitmoService.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using GestionIntegral.Api.Dtos.Radios;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GestionIntegral.Api.Services.Radios
|
||||
{
|
||||
public interface IRitmoService
|
||||
{
|
||||
Task<IEnumerable<RitmoDto>> ObtenerTodosAsync(string? nombreFilter);
|
||||
Task<RitmoDto?> ObtenerPorIdAsync(int id);
|
||||
Task<(RitmoDto? Ritmo, string? Error)> CrearAsync(CreateRitmoDto createDto, int idUsuario);
|
||||
Task<(bool Exito, string? Error)> ActualizarAsync(int id, UpdateRitmoDto updateDto, int idUsuario);
|
||||
Task<(bool Exito, string? Error)> EliminarAsync(int id, int idUsuario);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user