using Journal.Core.Dtos; namespace Journal.Core.Services.Fragments; public interface IFragmentService { FragmentDto Create(CreateFragmentDto dto); bool Update(Guid id, UpdateFragmentDto dto); bool Remove(Guid id); List Search(string? type = null, string? tag = null, DateTimeOffset? timeAfter = null); List GetByTag(string tag); List GetByType(string type); List GetAll(); FragmentDto? GetById(Guid id); }