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