public async Task <IActionResult> UpdatePhases([FromBody] PhasesUpdateDto dto)
        {
            var succeeded = await _repo.UpdatePhases(dto.Phases);

            if (succeeded)
            {
                return(Ok(new { message = "Successfully updated the phases." }));
            }
            return(BadRequest(new { message = "Unable to update the phases." }));
        }