예제 #1
0
        public ActionResult EnterToOperation(int idOperation)
        {
            OperationUser operationUser = new OperationUser();

            operationUser.UserId = UserId; operationUser.OperationId = idOperation;
            _operationsRepository.EnterToOperationUser(operationUser);
            _operationsRepository.SaveChanges();
            return(Ok());
        }