public string Get() { var me = GetAuthors.GetUsernames(3); var mes = GetAuthors.GetUsernamesSortedByRecordDate(1361951997); // var xy = await gt.GetUsernames(4); // var dr = gt.get; return(null); //var rng = new Random(); //return Enumerable.Range(1, 5).Select(index => new WeatherForecast //{ // Date = DateTime.Now.AddDays(index), // TemperatureC = rng.Next(-20, 55), // Summary = Summaries[rng.Next(Summaries.Length)] //}) //.ToArray(); }
public BLResponse<Author> Get(GetAuthors request) { return Post (request); }
public BLResponse<Author> Post(GetAuthors request) { return Controller.GetAuthors( BLRequest); }
public AuthorsController(GetAuthors getAuthors, CreateAuthor createAuthor, Dispatcher dispatcher) { this.getAuthors = getAuthors; this.createAuthor = createAuthor; this.dispatcher = dispatcher; }
public async Task <IActionResult> Get([FromRoute] GetAuthors query) => Select(await Dispatcher.QueryAsync(query));
public async Task <IEnumerable <Author> > Handle(GetAuthors request, CancellationToken cancellationToken) => await AuthorEntityHandler.Get();