public HomeController(ILogger <HomeController> logger, DoctorCabin doctorcabin, WaitingRoom waitingroom, IConfiguration configuration) { Configuration = configuration; _logger = logger; _doctorcabin = doctorcabin; _waitingroom = waitingroom; idletime = Convert.ToInt32(configuration["IdleTime"]); }
public ActionResult SendInvitation([FromBody] DoctorCabin cabin) { try { DoctorsModel responseData = new DoctorsModel(); // string reqType = this.ReadQueryStringData("reqType"); //generate meeting id string meetingId = cabin.DoctorsModel.Id.ToString() + DateTime.Now.ToString("MMddHHmmss"); return(Ok(meetingId)); } catch (Exception) { throw; } }
public StatusController(WaitingRoom waitingroom, DoctorCabin doctorcabin) { _waitingroom = waitingroom; _doctorcabin = doctorcabin; }