using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Persistence.Database.Model; using Persistence.Models; using Persistence.Repositories; namespace Persistence.API.Controllers; [ApiController] [Authorize] [Route("api/[controller]")] public class ChangeLogRotorController : ControllerBase, IChangeLogApi> { private IChangeLogRepository> repository; public ChangeLogRotorController(IChangeLogRepository> repository) { this.repository = repository; } public async Task> Add(ProcessMapRotorDto dto, CancellationToken token) { await repository.InsertRange(0, [dto], token); return null; } public Task> AddRange(IEnumerable dtos, CancellationToken token) { throw new NotImplementedException(); } public Task> Delete(int id, CancellationToken token) { throw new NotImplementedException(); } public Task> DeleteRange(IEnumerable ids, CancellationToken token) { throw new NotImplementedException(); } public Task>> GetChangeLogCurrent(CancellationToken token) { throw new NotImplementedException(); } public Task>>> GetChangeLogForDate(DateTimeOffset historyMoment, CancellationToken token) { throw new NotImplementedException(); } public Task> Update(ProcessMapRotorDto dto, CancellationToken token) { throw new NotImplementedException(); } public Task> UpdateRange(IEnumerable dtos, CancellationToken token) { throw new NotImplementedException(); } }