using System;
using System.Threading.Tasks;
using InternshipSystem.Api.Queries;
using InternshipSystem.Repository;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace InternshipSystem.Api.Controllers
{
public class DocumentsController : ControllerBase
{
private InternshipDbContext Context { get; }
public DocumentsController(InternshipDbContext context)
{
Context = context;
}
///
/// Fill out required document,
///
/// Documents Scan and description, and Id of filled document
///
/// If change was successfully registered
/// If the provided query was malformed
/// Id doesn't match any required document
/// This action is only available for authorized student registered for current edition
[HttpPost]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
public async Task AddDocumentToInternship([FromBody] DocumentPublishRequest document) =>
throw new NotImplementedException();
}
}