Ejemplo n.º 1
0
        public ActionResult ChangeStatusChat(int chatlogId)
        {
            ChatLog chatLog = _chatLogic.GetSingleChatLog(chatlogId);

            chatLog.Status = !chatLog.Status;

            _chatLogic.ChangeChatStatus(chatLog);

            _appointmentLogic.DeleteAppointmentByChat(chatlogId);

            return(RedirectToAction("ChatOverview"));
        }