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