Changeset 99c1e45 for ChapterX.Domain


Ignore:
Timestamp:
06/24/26 16:28:50 (12 days ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Children:
a8f4a2d
Parents:
0b502c2
Message:

Fixed writer section and admin management

Location:
ChapterX.Domain
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChapterX.Domain/Entities/Story.cs

    r0b502c2 r99c1e45  
    1212        public int Id { get; set; }
    1313        public bool MatureContent { get; set; }
     14        public string Title { get; set; } = string.Empty;
    1415        public string ShortDescription { get; set; } = string.Empty;
    1516        public string? Image { get; set; }
  • ChapterX.Domain/Repositories/IChapterRepository.cs

    r0b502c2 r99c1e45  
    77        Task<IEnumerable<Chapter>> GetByStoryIdAsync(int storyId, CancellationToken cancellationToken = default);
    88        Task<Chapter?> GetByIdWithStoryAsync(int id, CancellationToken cancellationToken = default);
     9        Task IncrementViewCountAsync(int id, CancellationToken cancellationToken = default);
    910    }
    1011}
Note: See TracChangeset for help on using the changeset viewer.