public async Task <HttpResponseMessage> GetYears() { return(await ValidateAndHandleOperationExecutionAsync(async() => { var res = await _calendarDomainService.GetYears(); return Request.CreateResponse(HttpStatusCode.OK, res); })); }
public async Task <HttpResponseMessage> GetYears() { return(await ValidateAndHandleOperationExecutionAsync(async() => { var res = await _calendarDomainService.GetYears(); return Request.CreateResponse(HttpStatusCode.OK, res); })); }