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 { //bool? asc, int? numPage, int? parPAge, string texte, string tri) public IEnumerable GetNotes(bool? asc, int? numPage, int? parPAge, string texte, string tri); public IEnumerable GetNotesByAuteur(Guid? idAuteur, bool? asc, int? numPage, int? parPAge, string texte, string tri); public DetailsNoteDTO GetNoteById(int? idNote); public IEnumerable GetNotesByCollaborateur(Guid? idAuteur, Guid? idCollaborateur, bool? asc, int? numPage, int? parPAge, string texte, string tri); public Note AjouterNote(DetailsNoteDTO nouvelleNote); public bool SupprimerNote(int? idNote); public Note UpdateNote(int? idNote, DetailsNoteDTO note); } }