You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.6 KiB
36 lines
1.6 KiB
using EPAServeur.Models.Notes;
|
|
using IO.Swagger.DTO;
|
|
using Org.BouncyCastle.Bcpg.OpenPgp;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EPAServeur.IServices
|
|
{
|
|
public interface INoteService
|
|
{
|
|
/*
|
|
public IEnumerable<AffichageNoteDTO> GetNotes(bool? asc, int? numPage, int? parPAge, string texte, string tri);
|
|
public IEnumerable<AffichageNoteDTO> GetNotesByAuteur(Guid? idAuteur, bool? asc, int? numPage, int? parPAge, string texte, string tri);
|
|
public DetailsNoteDTO GetNoteById(long? idNote);
|
|
public IEnumerable<AffichageNoteDTO> GetNotesByCollaborateur(Guid? idAuteur, Guid? idCollaborateur, bool? asc, int? numPage, int? parPAge, string texte, string tri);
|
|
public DetailsNoteDTO AjouterNote(DetailsNoteDTO nouvelleNote);
|
|
public void SupprimerNote(long? idNote);
|
|
public DetailsNoteDTO UpdateNote(long? idNote, DetailsNoteDTO note);
|
|
*/
|
|
DetailsNoteDTO AjouterNote(DetailsNoteDTO note);
|
|
Task<DetailsNoteDTO> AjouterNoteAsync(DetailsNoteDTO note);
|
|
void SupprimerNote(long? idNote);
|
|
void SupprimerNoteAsync(long? idNote);
|
|
DetailsNoteDTO GetNoteById(long? idNote);
|
|
Task<DetailsNoteDTO> GetNoteByIdAsync(long? idNote);
|
|
IEnumerable<AffichageNoteDTO> GetNotesByAuteur(Guid? idAuteur, bool? asc, int? numPage, int? parPAge, string texte, string tri);
|
|
Task<IEnumerable<AffichageNoteDTO>> GetNotesByAuteurAsync(Guid? idAuteur, bool? asc, int? numPage, int? parPAge, string texte, string tri);
|
|
int GetNotesByAuteurCount(Guid? idAuteur, string texte);
|
|
Task<int> GetNotesByAuteurCountAsync(Guid? idAuteur, string texte);
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|