Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using adas_core.Domain.Models;
|
||||
using adas_core.Domain.Models.MongoModels;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace adas_core.Application.Services.Interfaces;
|
||||
|
||||
public interface INoticeService
|
||||
{
|
||||
Task DeleteNoticeAsync(Notice notice);
|
||||
Task DeleteNoticeByIdAsync(ObjectId noticeId);
|
||||
Task<Notice?> GetNoticeByIdAsync(ObjectId noticeId);
|
||||
Task<IEnumerable<Notice>?> GetNoticeByTypeAsync(string noticeType);
|
||||
Task<IEnumerable<Notice>> GetNoticesAsync();
|
||||
Task<Notice?> InsertNotice(Notice notice);
|
||||
Task UpdateNoticeAsync(Notice notice);
|
||||
Task SaveRequest(ApiRequest apiRequest);
|
||||
Task SaveRequestAsync(ApiRequest apiRequest);
|
||||
Task<IEnumerable<Notice>?> GetNoticesByDisplayId(ObjectId displayId);
|
||||
}
|
||||
Reference in New Issue
Block a user