public async Task <IActionResult> AssignProposal(int employerId, int freelancerId)
        {
            var result = await _proposalService.AssignProposalAsync(employerId, freelancerId);

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

            var employerResource = _mapper.Map <Employer, EmployerResource>(result.Resource.Employer);

            return(Ok(employerResource));
        }