19 lines
588 B
C#
19 lines
588 B
C#
// BackgroundBuilder\Services\IContactService.cs
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using BackgroundBuilder.Models;
|
|
|
|
namespace BackgroundBuilder.Services
|
|
{
|
|
public interface IContactService
|
|
{
|
|
Task InsertUpdateAsync(Contato contato);
|
|
Task DeleteAsync(string ramal);
|
|
|
|
Task<IEnumerable<Contato>> GetAllAsync();
|
|
IEnumerable<Contato> GetComando(IEnumerable<Contato> all);
|
|
IEnumerable<Contato> GetSemComando(IEnumerable<Contato> all);
|
|
IEnumerable<Contato> GetAniversarios(IEnumerable<Contato> all);
|
|
}
|
|
}
|