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

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

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

            return(Ok(freelancerResource));
        }