26 lines
764 B
C#
26 lines
764 B
C#
using System.Collections.Generic;
|
|
using _0_Framework.Domain;
|
|
using AccountManagement.Application.Contracts.Media;
|
|
|
|
|
|
namespace AccountManagement.Domain.MediaAgg;
|
|
|
|
public interface IMediaRepository:IRepository<long,Media>
|
|
{
|
|
void CreateMediaWithTaskMedia(long taskId, long mediaId);
|
|
List<MediaViewModel> GetMediaByTaskId(long taskId);
|
|
void Remove(long id);
|
|
void RemoveRange(IEnumerable<Media> medias);
|
|
void CreateTicketMedia(long ticketId, long mediaId);
|
|
void CreateAdminResponseMedia(long adminResponseId, long mediaId);
|
|
void CreateClientResponseMedia(long clientResponseId, long mediaId);
|
|
|
|
#region Pooya
|
|
|
|
|
|
List<MediaViewModel> GetMedias(List<long> ids);
|
|
List<Media> GetRange(IEnumerable<long> mediaIds);
|
|
|
|
#endregion
|
|
|
|
} |