public async Task <IActionResult> PostAsync([FromBody] SaveFreelancerResource resource)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState.GetErrorMessages()));
            }

            var freelancer = _mapper.Map <SaveFreelancerResource, Freelancer>(resource);
            var result     = await _freelancerService.SaveAsync(freelancer);

            if (!result.Success)
            {
                return(BadRequest(result.Message));
            }

            var freelancerResource = _mapper.Map <Freelancer, FreelancerResource>(result.Resource);

            return(Ok(freelancerResource));
        }