[HttpPost("Appointmnet/{Recordid}/{status}")] //Done
        public async Task <ActionResult <IEnumerable <string> > > Dr_Appointmnet(int Recordid, string status)
        {
            try
            {   // the current employee id
                _employeeService.Accept_Appointmnet(Recordid, status);

                if (await _context.SaveChangesAsync() > 0)
                {
                    return(Ok("Records Updated"));
                }
            }
            catch (Exception)
            {
                return(this.StatusCode(StatusCodes.Status500InternalServerError, "Database Failure"));
            }
            return(BadRequest());
        }