using noteApi.Dtos.Note; using noteApi.Models; namespace noteApi.Interfaces { public interface INoteRepository { Task> GetAllAsync(); Task GetByIdAsync(int id); Task CreateAsync(CreateNoteDto noteModel); Task UpdateAsync(int id, CreateNoteDto noteModel); Task DeleteAsync(int id); } }