public async Task <IActionResult> GetAsync(int id)
        {
            var result = await _freelancerService.GetByIdAsync(id);

            if (!result.Success)
            {
                return(BadRequest(result.Message));
            }
            var freelancerResource = _mapper.Map <Freelancer, FreelancerResource>(result.Resource);

            return(Ok(freelancerResource));
        }