public HttpResponseMessage GetClosedPeriodByLogin(HttpRequestMessage request, int solutionId, int year)
        {
            return(GetHttpResponse(request, () =>
            {
                ClosedPeriodData[] closedPeriods = _ExtractionProcessService.GetClosedPeriodByLogin(User.Identity.Name).Where(c => c.SolutionId == solutionId && c.Date.Year == year).ToArray();

                return request.CreateResponse <ClosedPeriodData[]>(HttpStatusCode.OK, closedPeriods);
            }));
        }