Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class QuestionDto
- {
- public bool disabled {get;set;}
- public int id {get;set;}
- public int order {get;set;}
- public PositionDto pagePosition {get;set;}
- public string title {get;set;}
- }
- public enum PositionDto
- {
- FullWidth = 0,
- Half = 1
- }
- [Route("")]
- [HttpGet]
- [ResponseType(typeof(QuestionDto))]
- public async Task<IHttpActionResult> GetCategoryQuestions()
- {
- return Ok(new QuestionDto { PagePosition = PagePositionDto.Half });
- }
Add Comment
Please, Sign In to add comment