using System.IO;
using AsbCloudApp.Data;
using Microsoft.AspNetCore.Mvc;

namespace AsbCloudWebApi.Controllers.Interfaces;

public interface IControllerWithParser<TDto, in TOptions>
	where TDto : class, IId
{
	ActionResult<ParserResultDto<TDto>> Parse(Stream file, TOptions options);

	IActionResult GetTemplate();
}