Exemple #1
0
        /// <inheritdoc />
        public virtual IFeedbackDto?GetFeedback(string objectId)
        {
            var id = objectId.FromServiceString <Guid>();

            return(Feedbacks
                   .AsNoTracking()
                   .FirstOrDefault(f => f.Id == id));
        }
Exemple #2
0
 /// <inheritdoc />
 public Source <IFeedbackDto> GetFeedbacks(Query query)
 {
     return(Feedbacks
            .AsNoTracking()
            .AsSource <IFeedbackDto>());
 }