Initial commit
This commit is contained in:
14
Data/IClientRepository.cs
Normal file
14
Data/IClientRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Workshop8.Models;
|
||||
|
||||
namespace Workshop8.Data
|
||||
{
|
||||
public interface IClientRepository
|
||||
{
|
||||
Task<IEnumerable<Cliente>> GetAllClientsAsync();
|
||||
Task AddClientAsync(Cliente c);
|
||||
Task UpdateClientAsync(Cliente c);
|
||||
Task DeleteClientAsync(int id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user