public IActionResult GetJobCardV3(Guid id)
        {
            JobCardV3 jobCard = _dataRepository.Get(id);

            if (jobCard == null)
            {
                return(NotFound("The JobCard record couldn't be found."));
            }
            return(Ok(jobCard));
        }
        public async Task <IActionResult> SendMail([FromBody] Mail_Request request)
        {
            try
            {
                JobCardV3 jobCard = _dataRepository.Get(new Guid(request.JobCardID));
                await mailService.SendEmailAsync(request, jobCard);

                return(Ok());
            }
            catch (Exception ex)
            {
                throw;
            }
        }