Add methods for all Section type DTO for generation purpose
This commit is contained in:
parent
209217ede8
commit
7c6ade79d6
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Manager.Interfaces.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
||||
@ -501,5 +501,55 @@ namespace ManagerService.Controllers
|
||||
return new ObjectResult(ex.Message) { StatusCode = 500 };
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Useless, just to generate dto code
|
||||
/// </summary>
|
||||
[ProducesResponseType(typeof(MapDTO), 200)]
|
||||
[HttpGet("MapDTO")]
|
||||
public ObjectResult GetMapDTO()
|
||||
{
|
||||
return new ObjectResult("MapDTO") { StatusCode = 200 };
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Useless, just to generate dto code
|
||||
/// </summary>
|
||||
[ProducesResponseType(typeof(SliderDTO), 200)]
|
||||
[HttpGet("SliderDTO")]
|
||||
public ObjectResult GetSliderDTO()
|
||||
{
|
||||
return new ObjectResult("SliderDTO") { StatusCode = 200 };
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Useless, just to generate dto code
|
||||
/// </summary>
|
||||
[ProducesResponseType(typeof(VideoDTO), 200)]
|
||||
[HttpGet("VideoDTO")]
|
||||
public ObjectResult GetVideoDTO()
|
||||
{
|
||||
return new ObjectResult("VideoDTO") { StatusCode = 200 };
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Useless, just to generate dto code
|
||||
/// </summary>
|
||||
[ProducesResponseType(typeof(WebDTO), 200)]
|
||||
[HttpGet("WebDTO")]
|
||||
public ObjectResult GetWebDTO()
|
||||
{
|
||||
return new ObjectResult("WebDTO") { StatusCode = 200 };
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Useless, just to generate dto code
|
||||
/// </summary>
|
||||
[ProducesResponseType(typeof(MenuDTO), 200)]
|
||||
[HttpGet("MenuDTO")]
|
||||
public ObjectResult GetMenuDTO()
|
||||
{
|
||||
return new ObjectResult("MenuDTO") { StatusCode = 200 };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user