private async Task <HttpResponseMessage> ExecuteGetAsync(params object[] parameters) { var city = (string)parameters[0]; var date = (string)parameters[1]; var newsId = (string)parameters[2]; var nickname = (string)parameters[3]; await this.ValidateGetOperation(city, date, newsId, nickname); VoteBll vote = await this.voteRepository.GetVote(city, DateTime.Parse(date), Guid.Parse(newsId), nickname); HttpResponseMessage response = this.Request.CreateResponse(HttpStatusCode.OK, Vote.FromVoteBll(vote)); return(response); }