2021-05-29 18:12:36 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Retroactiune.Models;
|
|
|
|
|
|
|
|
|
|
namespace Retroactiune.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IFeedbackReceiverService
|
|
|
|
|
{
|
2021-06-20 11:25:04 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates feedback receivers.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="items">A collection of feedback receivers.</param>
|
|
|
|
|
/// <returns>Nothing.</returns>
|
2021-05-29 18:12:36 +00:00
|
|
|
|
public Task CreateManyAsync(IEnumerable<FeedbackReceiver> items);
|
2021-06-20 11:25:04 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Deletes one FeedbackReceiver.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="guids">A list of FeedbackReceiver guids to delete.</param>
|
|
|
|
|
/// <returns>Nothing.</returns>
|
|
|
|
|
public Task DeleteManyAsync(IEnumerable<string> guids);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Finds FeedbackReceivers.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="guid">A list of guids to filter the FeedbackReceivers. </param>
|
|
|
|
|
/// <param name="offset">An offset, it skips the specified FeedbackReceivers.</param>
|
|
|
|
|
/// <param name="limit">A limit for the returned results.</param>
|
|
|
|
|
/// <returns>A collection of FeedbackReceivers.</returns>
|
2021-06-05 16:39:47 +00:00
|
|
|
|
Task<IEnumerable<FeedbackReceiver>> FindAsync(IEnumerable<string> guid, int? offset = null, int? limit = null);
|
2021-05-29 18:12:36 +00:00
|
|
|
|
}
|
|
|
|
|
}
|