2021-07-17 17:14:37 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
2021-07-04 17:34:10 +00:00
|
|
|
|
using Retroactiune.Core.Entities;
|
2021-07-17 17:14:37 +00:00
|
|
|
|
using Retroactiune.Core.Services;
|
2021-07-04 17:34:10 +00:00
|
|
|
|
|
|
|
|
|
namespace Retroactiune.Core.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IFeedbacksService
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Adds Feedback to a FeedbackReceiver.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="feedback">The feedback.</param>
|
|
|
|
|
/// <param name="receiver">The feedback receiver.</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public Task AddFeedbackAsync(Feedback feedback, FeedbackReceiver receiver);
|
2021-07-17 17:14:37 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets Feedbacks.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="filters">Filters for filtering the response.</param>
|
|
|
|
|
/// <returns>An enumerable of feedbacks.</returns>
|
|
|
|
|
Task<IEnumerable<Feedback>> GetFeedbacksAsync(FeedbacksListFilters filters);
|
2021-07-04 17:34:10 +00:00
|
|
|
|
}
|
|
|
|
|
}
|